Tree: Height of a Binary Tree

  • + 0 comments

    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