摘要: # coding:utf-8#[17, 20, 26, 31, 44, 54, 55, 77, 93]#mid = n/2##[17, 20, 26, 31]#mid = n/2 def binary_search(alist, item): """二分查找,遞歸""" n = len(alist) 阅读全文
posted @ 2019-09-25 22:11 李俊鹏Python 阅读(220) 评论(0) 推荐(0) 编辑