What is the difference between tree depth and height?
Asked 07 September, 2021
Viewed 1.8K times
  • 66
Votes

This is a simple question from algorithms theory.
The difference between them is that in one case you count number of nodes and in other number of edges on the shortest path between root and concrete node.
Which is which?

10 Answer