Skip to content

V.A10

Choose a tag to compare

@bhavya2655 bhavya2655 released this 13 Mar 05:42
· 4 commits to main since this release
57e714e

Create a tree structure using a TreeNode class and calculate the sum of a target node's value and its descendants. Test the function with the node containing value 10 to get the expected sum of 37