Python:快速排序法python实现

def QuickSort(myList,start,end): if start < end: i,j = start, end base = myList[i] while i < j: while (i<j) and (myList[j] >= base): j = j -1
相关文章
相关标签/搜索