/* * @lc app=leetcode id=45 lang=java * * [45] Jump Game II */ // @lc code=start class Solution { public int jump(int[] nums) { // create array and zset int[] dp = new int[nums.length]; zset(dp, -1); dp[0] = 0; for(int i=0; i