Inaccurate Definition of Depth/Height


  • 0
    A

    This problem's solution set is inaccurate. It's counting the number of nodes from root to furthest leaf, when it should be counting the number of edges (it's using an incorrect definition of tree depth/height). Please correct this.


Log in to reply
 

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