What is the difference between tree depth and height?

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?

11 Answers
11

Leave a Comment