Skip to content

Commit 8df7748

Browse files
committed
Merge branch 'max_sum_binary_tree' of https://github.com/1227haran/Python into max_sum_binary_tree
2 parents c2a62d9 + bae1df8 commit 8df7748

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data_structures/binary_tree/maximum_sum_bst.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class TreeNode:
1313
right: Optional['TreeNode'] = None
1414

1515

16-
def max_sum_bst(root: TreeNode ) -> int:
16+
def max_sum_bst(root: TreeNode) -> int:
1717
"""
1818
The solution traverses a binary tree to find the maximum sum of
1919
keys in any subtree that is a Binary Search Tree (BST). It uses

0 commit comments

Comments
 (0)