We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee4abc9 commit d8b7f7bCopy full SHA for d8b7f7b
1 file changed
Python/binary-tree-paths.py
@@ -24,7 +24,7 @@ def binaryTreePathsRecu(self, node, path, result):
24
ans = ""
25
for n in path:
26
ans += str(n.val) + "->"
27
- resault.append(ans + str(node.val))
+ result.append(ans + str(node.val))
28
29
if node.left:
30
path.append(node)
0 commit comments