二分搜索
lc890213
这个作者很懒,什么都没留下…
展开
-
Search a 2D Matrix
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sorted from left to right.The first integer of each原创 2014-02-21 09:23:17 · 349 阅读 · 0 评论 -
Search Insert Position
Search Insert Position Total Accepted: 8665 Total Submissions: 25364My Submissions Given a sorted array and a target value, return the index if the target is found. If not, return the ind原创 2014-02-21 09:50:04 · 347 阅读 · 0 评论