Week 5 · Day 33 of 42
Greedy: Kadane's / Jump Game
Kadane's algorithm: track a running sum. Reset to 0 (or current element) when it goes negative.
Checking access
Spotted a mistake on this page?
Wrong formula, broken animation or confusing wording. Tell us and we will fix it.