Skip to content

Commit 0981035

Browse files
Update binary_tree_path_sum.py
1 parent 8976381 commit 0981035

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data_structures/binary_tree/binary_tree_path_sum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class BinaryTreePathSum:
6565
>>> tree2.right = Node(5)
6666
6767
>>> BinaryTreePathSum().path_sum(tree2, 5)
68-
3
68+
4
6969
>>> BinaryTreePathSum().path_sum(tree2, -1)
7070
0
7171
>>> BinaryTreePathSum().path_sum(tree2, 0)

0 commit comments

Comments
 (0)