Concept Flow - Height of Binary Tree
Start at root node
Is node NULL?
Yes→Return 0
No
Compute height of left subtree
Compute height of right subtree
Height = max(left, right) + 1
Return height
We start at the root and recursively find the height of left and right subtrees. The height of the node is the larger height of its children plus one.
