package leetcode;

/**
 * https://leetcode.com/problems/jump-game-ii/
 */
public class Problem45 {
    public int jump(int[] nums) {
        // TODO
        return 0;
    }

    public static void main(String[] args) {
        Problem45 prob = new Problem45();
        System.out.println(prob.jump(new int[]{2, 3, 1, 1, 4})); // 2
    }
}

@@ -324,16 +324,216 @@
 ); // 2%0A
+        System.out.println(prob.jump(new int%5B%5D%7B2, 6, 1, 1, 4%7D)); // 2%0A        System.out.println(prob.jump(new int%5B%5D%7B100, 5, 1, 1, 4%7D)); // 1%0A        System.out.println(prob.jump(new int%5B%5D%7B5%7D)); // 0%0A
     %7D%0A%7D%0A

Update problem 45