Jump Game

Greedy ยท medium

Given `nums` where each value is the maximum jump length from that index, implement `canJump(nums)` returning whether you can reach the last index starting from index 0.

Learning resources

Loading...

Run your code to see results.