Compute the " maxDepth " of a tree -- the number of nodes along the longest path from the root node down to the farthest leaf node .
int maxDepth ( node * node ) { if ( node == NULL ) return 0 ; else {