![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Greedy
文章平均质量分 54
liujunlovecs
这个作者很懒,什么都没留下…
展开
-
Leetcode#45||Jump Game II
public class Solution { public int jump(int[] nums) { if (nums == null || nums.length == 0) { return 0; } int left = 0; int right = 0;原创 2015-08-15 17:37:21 · 242 阅读 · 0 评论 -
Leetcode#55||Jump Game
public class Solution { public boolean canJump(int[] nums) { if (nums == null || nums.length == 0) { return false; } int maxRange = 0;原创 2015-08-17 14:51:24 · 417 阅读 · 0 评论