GoalScope — move_zeros (Qwen2.5-Coder-32B-Instruct) — hover a token to see the patched verbalization
↵
<code>↵
def move_zeros(nums):↵
"""Move all zeros to the end of the list in-place."""↵
last_non_zero_found_at = 0↵
for i in range(len(nums)):↵
if nums[i] != 0:↵
nums[last_non_zero_found_at], nums[i] = nums[i], nums[last_non_zero_found_at]↵
last_non_zero_found_at += 1↵
</code>