Jump Game II — greedy reach windows
Each jump covers a stretch of indices. Within the current stretch, track the farthest you could reach; when you hit the stretch's edge, you must jump, and the next stretch reaches that farthest point.
Try:
← Prev
Next →
▶ Play
Reset
jumps
0
farthest reachable
0