← All problems
Jump Game II (min jumps)
Minimum jumps to reach the end (each element = max jump length).
Complexity
Time O(n), Space O(1)
Common pitfalls
- DP O(n^2) when greedy suffices
- Counting the final jump wrong
Your solution
Log in to save your code and track progress.