摘要: Description:Write an efficient algorithm that searches for a value in anmxnmatrix. This matrix has the following properties:Integers in each row are s... 阅读全文
posted @ 2015-09-30 20:47 Pickle 阅读(230) 评论(0) 推荐(0) 编辑
摘要: Description:Find the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the array[−2,1,... 阅读全文
posted @ 2015-09-30 19:03 Pickle 阅读(234) 评论(0) 推荐(0) 编辑
摘要: Description:Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were in... 阅读全文
posted @ 2015-09-30 10:44 Pickle 阅读(200) 评论(0) 推荐(0) 编辑