Algorithm-Interview
Algorithm-Interview copied to clipboard
经典算法&面试题的源代码实现项目
Results
4
Algorithm-Interview issues
Sort by
recently updated
recently updated
newest added
Python有一个`min`的函数,直接把变量命名成`min`不太好。
第二种优化应该不行吧,
def bubble_sort(array): 17 lenth = len(array) 18 19 for i in range(lenth): 20 flag = True 21 for j in range (1, lenth): # it should be array's length other...