Jump Game
Given an array `nums` where nums[i] is the maximum jump length from index i, starting at index 0, return true if you can reach the last index.
Examples
in: nums = [2,3,1,1,4]
out: true
0->1->4
in: nums = [3,2,1,0,4]
out: false
stuck at index 3
Constraints
- 1 <= len(nums) <= 10^4
- 0 <= nums[i] <= 10^5
Hints