摘要: DescriptionFind any position of a target number in a sorted array. Return -1 if target does not exist. ExampleGiven [1, 2, 2, 4, 5, 5].For target = 2, 阅读全文
posted @ 2017-04-28 05:02 panini 阅读(561) 评论(0) 推荐(0) 编辑
摘要: DescriptionWrite an efficient algorithm that searches for a value in an m x n matrix, return the occurrence of it.This matrix has the following proper 阅读全文
posted @ 2017-04-28 02:47 panini 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 题目: 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 sort 阅读全文
posted @ 2017-04-28 02:46 panini 阅读(184) 评论(0) 推荐(0) 编辑