A question in the descriptions of problem


  • 0
    J

    The definition of the AVL tree in Wikipedia says "...the heights of the two child subtrees...", while in the descriptions of the problem says "...the depth of the two subtrees...". Do they mean the same here?

    And what's the definition of "the depth of a tree", is it the same with the height of a tree?


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.