Write a C Program to Find the Maximum Depth or Height of a Tree - GeeksforGeeks
Recursively calculate height of left and right subtrees of a node and assign height to the node as max of the heights of two children plus 1. See below pseudo code and program for details. Algorithm: maxDepth() 1. If tree is empty then return 0 2. Else (a...