← ALL NOTES
Array

55. Jump Game

The exact jumps don't matter — only how far you can possibly get. Track maxReach, the furthest index reachable so far. Walk left to right: if you ever stand on an index i that's beyond maxReach, it's…

Loading…