[算法][LeetCode]Search a 2D Matrix——二维数组的二分查找
摘要:
题目要求Write an efficient algorithm that searches for a value in anmxnmatrix. This matrix has the following properties:Integers in each row are sorted from left to right.The first integer of each row is greater than the last integer of the previous row.For example,Consider the following matrix:[ [1, .. 阅读全文
posted @ 2013-11-01 21:20 南京大乱炖 阅读(3252) 评论(4) 推荐(0) 编辑