Jump Game
Given an array of non-negative integers nums, you start at index 0. Each value nums[i] represents the maximum number of steps you can jump forward from index i. Return whether you can reach th...
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:
