摘要: 1 实例 这个模块只有几个函数, 一旦决定使用二分搜索时,立马要想到使用这个模块 [python] view plaincopy import bisect L = [1,3,3,6,8,12,15] x = 3 x_insert_point = bisect.bisect_left(L,x) #在 阅读全文
posted @ 2018-09-18 14:29 朝阳的向日葵 阅读(1227) 评论(0) 推荐(0)