GoalScope — min_jumps (Qwen2.5-Coder-32B-Instruct) — hover a token to see the patched verbalization
<code>↵ def min_jumps(nums):↵ """Minimum number of jumps to reach the last index."""↵ if len(nums) <= 1:↵ return 0 l, r = 0, nums[0]↵ jumps = 1 while r < len(nums) - 1:↵ nxt = max(i + nums[i] for i in range(l, r + 1))↵ l, r = r, nxt jumps += 1 return jumps</code>