← Questions

Jump game

0
WaymoCodingLast asked Feb 2026

Each element of an array is the maximum jump length from that position. Starting at index 0, decide whether you can reach the last index. Solve it greedily in O(n) by tracking the furthest reachable 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