摘要: Search a 2D Matrix IIWrite an efficient algorithm that searches for a value in anmxnmatrix. This matrix has the following properties:Integers in each ... 阅读全文
posted @ 2015-07-25 21:35 陆草纯 阅读(1048) 评论(0) 推荐(0) 编辑
摘要: Sliding Window MaximumGiven an arraynums, there is a sliding window of sizekwhich is moving from the very left of the array to the very right. You can... 阅读全文
posted @ 2015-07-25 19:22 陆草纯 阅读(320) 评论(0) 推荐(0) 编辑
摘要: Product of Array Except SelfGiven an array ofnintegers wheren> 1,nums, return an arrayoutputsuch thatoutput[i]is equal to the product of all the eleme... 阅读全文
posted @ 2015-07-25 11:34 陆草纯 阅读(959) 评论(0) 推荐(0) 编辑