摘要: ``` def get_min(li): low = 0 high = len(li) - 1 mid = low while li[low] >= li[high]: # 一般low的元素>=high的元素 if high - low == 1: mid = high break if (li[low] == li[high] and li[mid] == li[low]): # 特殊情况:无法 阅读全文
posted @ 2020-04-22 15:24 烧刘病 阅读(74) 评论(0) 推荐(0) 编辑
回到页首