GoalScope — fibonacci_memo (Qwen2.5-Coder-32B-Instruct) — hover a token to see the patched verbalization
↵
<code>↵
def fibonacci_memo(n):↵
"""Return the nth Fibonacci number using top-down memoization."""↵
memo = {0: 0, 1: 1}↵
↵
def helper(x):↵
if x not in memo:↵
memo[x] = helper(x - 1) + helper(x - 2)↵
return memo[x]↵
↵
return helper(n)↵
</code>