package leetcode;

public class Problem55 {
    public boolean canJump(int[] nums) {
        if (nums.length == 0) {
            return true;
        }
        int x = nums[0];
        for (int i = 1; i < nums.length; ++i) {
            if (x <= 0) {
                return false;
            }
            x = Math.max(x - 1, nums[i]);
        }
        return true;
    }
}

@@ -12,16 +12,68 @@
 tcode;%0A%0A
+/**%0A * https://leetcode.com/problems/jump-game/%0A */%0A
 public c

Add missing link