Minimum Jumps to Reach the Last Index
Asked at Amazon · Coding Questions · Difficulty: Medium
Each element of `nums` is the maximum jump length from that position. Starting at index 0, return the minimum number of jumps to reach the last index (you may assume it is always reachable).
Loading the problem…