摘要: def binary_search(search_list, item): low = 0 high = len(search_list) - 1 while low <= high: mid = int((low + high) / 2) guess = search_list[mid] if g 阅读全文
posted @ 2021-12-09 18:24 TBHacker 阅读(74) 评论(0) 推荐(0) 编辑