caipengbo / Coding-Interviews

剑指offer
2 stars 0 forks source link

53. 二分查找【包含三道题】 #33

Open caipengbo opened 5 years ago

caipengbo commented 5 years ago

看见排序好的数组,并且找一个满足条件(数字条件、下标条件)的元素(或者位置),首先应该想到二分查找。

caipengbo commented 5 years ago

边界控制

https://github.com/caipengbo/Coding-Interviews/issues/1#issue-418592650