Skip to content

Commit 8ea7d2a

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1ee8199 commit 8ea7d2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data_structures/binary_tree/binary_tree_path_sum.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class BinaryTreePathSum:
5454
0
5555
>>> BinaryTreePathSum().path_sum(tree, 0)
5656
0
57-
57+
5858
The second tree looks like this
5959
0
6060
/ \
@@ -63,7 +63,7 @@ class BinaryTreePathSum:
6363
>>> tree2 = Node(0)
6464
>>> tree2.left = Node(5)
6565
>>> tree2.right = Node(15)
66-
66+
6767
>>> BinaryTreePathSum().path_sum(tree2, 5)
6868
2
6969
>>> BinaryTreePathSum().path_sum(tree2, -1)

0 commit comments

Comments
 (0)