Solution Review: Finding the Height of a Binary Tree
A detailed analysis to help you solve the “Finding the Height of a Binary Tree” challenge.
We'll cover the following...
We'll cover the following...
Solution: Using recursion
You should recursively find the heights of the left and right-subtrees. Here return -1 if the given node is null. Then, call the ...