Closed YanivGabay closed 2 months ago
ModolarProgramming/Eight_lesson_Binary_trees/07_more_bsts.cc
the function that suppose to return the sum of all leafs in the tree, returns unexpected values.
Fixed the problem. was bad use of recursive calls, and summing into a variable with &.
ModolarProgramming/Eight_lesson_Binary_trees/07_more_bsts.cc
the function that suppose to return the sum of all leafs in the tree, returns unexpected values.