冒泡排序: class Solution: def MySort(self , arr: List[int]) -> List[int]: # write code here for i in range(len(arr)): for j in range(i+1,len(arr)): if arr[j]<arr[i]: arr[i],arr[j]=arr[j],arr[i] return arr 选择排序: class Solu...