← Questions

Jump game: can you reach the last index?

0
GoogleCodingLast asked Sep 2026

You get a list of non-negative integers and start at index 0. nums[i] is the longest jump you may make from index i: you can move forward to any index up to i + nums[i]. Return whether some sequence of jumps reaches the last index.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding