Practice40 min
Practice: Reach & Reset
Kadane's, furthest-reach jumping, layered jump counting, and the reset-on-negative gas loop.
Four single-pass greedies: extend-or-restart on subarrays, the furthest-reach sweep, BFS-style jump layers, and the gas loop where a negative tank disqualifies every start behind you.
Problems0 of 4 solved