2015年6月25日

55. Jump Game && 45. Jump Game II

摘要: Jump GameGiven an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents yo... 阅读全文

posted @ 2015-06-25 09:26 shini 阅读(100) 评论(0) 推荐(0) 编辑

53. Maximum Subarray

摘要: Find the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the array[−2,1,−3,4,−1,2,1,... 阅读全文

posted @ 2015-06-25 09:08 shini 阅读(86) 评论(0) 推荐(0) 编辑

导航