Greedy
Peng_maple
这个作者很懒,什么都没留下…
展开
-
[LeetCode] 55. Jump Game
Jump Game Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maximum jump length at that position. Determi...原创 2019-04-01 15:17:54 · 146 阅读 · 0 评论 -
[LeetCode] 45. Jump Game2
Jump Game2 Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maximum jump length at that position. Your g...原创 2019-04-01 15:36:45 · 143 阅读 · 0 评论 -
[leetcode] 135. Candy
Candy There are N children standing in a line. Each child is assigned a rating value. You are giving candies to these children subjected to the following requirements: Each child must have at least on...原创 2019-08-16 21:40:49 · 105 阅读 · 0 评论