25. Jump Game
Each value is the maximum jump length from that position. Determine whether the last index is reachable.
उदाहरण 1:
इनपुट: nums = [2,3,1,1,4] आउटपुट: true
उदाहरण 2:
इनपुट: nums = [3,2,1,0,4] आउटपुट: false
सीमाएँ:
1 <= nums.length <= 10^4