摘要: 二分法算法代码(不用递归,春算法) 1 lst=[1,2,3,4,5,6,7,8,9,10,62,87,95,410,456,567,894,999] 2 n=894 3 left = 0 4 right = len(lst)-1 5 count=0 6 while left<=right: 7 m 阅读全文
posted @ 2020-06-07 15:20 .Aqiu 阅读(199) 评论(0) 推荐(0) 编辑