Skip to content

Commit 2baf142

Browse files
committed
Merge branch 'max_sum_binary_tree' of https://github.com/1227haran/Python into max_sum_binary_tree
2 parents 450f10a + cbc759b commit 2baf142

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

data_structures/binary_tree/maximum_sum_bst.py

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ def max_sum_bst(root: TreeNode) -> int:
4444
"""
4545
ans: int = 0
4646

47+
4748
def solver(node: "TreeNode") -> tuple[bool, int, int, int]:
4849
"""
4950
Returns the maximum sum by making recursive calls

0 commit comments

Comments
 (0)