GoalScope — max_depth (Qwen2.5-Coder-32B-Instruct) — hover a token to see the patched verbalization
<code>↵ def max_depth(root):↵ """Returns the maximum depth of the binary tree."""↵ if not root:↵ return 0 else:↵ left_depth = max_depth(root.left)↵ right_depth = max_depth(root.right)↵ return max(left_depth, right_depth) + 1</code>