@@ -0,0 +1,564 @@
+package leetcode.jump_game;%0A%0Apublic class Solution %7B%0A    public boolean canJump(int%5B%5D A) %7B%0A        if(A == null %7C%7C A.length == 0) return false;%0A        int right = 0, cur = 0;%0A        while(cur %3C= right && right %3C A.length - 1)%7B%0A        %09if(cur + A%5Bcur%5D %3E right)%0A        %09%09right = cur + A%5Bcur%5D;%0A        %09cur++;%0A        %7D%0A        return right %3E= A.length - 1;%0A    %7D%0A    %0A    public static void main(String%5B%5D args)%7B%0A    %09System.err.println(new Solution().canJump(new int%5B%5D%7B1,1,1,2,0%7D));%0A    %09System.err.println(new Solution().canJump(new int%5B%5D%7B3,2,1,0,4%7D));%0A    %7D%0A%7D%0A

Add java solution for 55. Jump Game