Jump Game — how far can you reach?
Sweep left to right, keeping the farthest index reachable so far. If you ever stand on an index past that frontier, you're stuck.
Try:
farthest reachable index: 0