Jump Game I
You are given an integer array
nums representing the maximum jump length from each position. Starting at the first index, determine if you can reach the last index of the array. Each element nums[i] indicates that from index i, you can jump to any index j where i <= j <= i + nums[i]. Return true if the last index is reachable, and false otherwise. Constraints: 1 <= nums.length <= 10^4 0 <= nums[i] <= 10^5JavaGreedy
00