Concept Flow - Height of Binary Tree
Start at root node
Is node null?
Yes→Return 0
No
Find height of left subtree
Find height of right subtree
Compare left and right heights
Height = max(left, right) + 1
Return height
Start from the root, recursively find heights of left and right subtrees, then return the larger height plus one.