Jump Game
Given a non-negative integer array nums, you start at index 0. Each element nums[i] represents the maximum jump length from position i.
Return whether you can reach the last index (n-1). Ou...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
