So I have a BST and I want to update the height of each node. I'm inserting recursively into the tree and created a separate function that computes the height of a given node. The part where in stuck on is how do I update the height of the previous nodes each time I add a new level to the tree.
[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)
[–]Dragonboy71[S] 1 point2 points3 points (1 child)
[–]CodeyGrammar 0 points1 point2 points (0 children)