What is the difference between tree depth and height?
I learned that depth and height are properties of a node: The depth of a node is the number of edges from the node to the tree’s root node.A root node will have a depth of 0. The height of a node is the number of edges on the longest path from the node to … Read more