The number of edges from the root to the node is called __________ of the tree.

Category: QuestionsThe number of edges from the root to the node is called __________ of the tree.
Editor">Editor Staff asked 4 weeks ago

The number of edges from the root to the node is called __________ of the tree.
 
(a) Height
 
(b) Depth
 
(c) Length
 
(d) Width
 
I would like to ask this question from Binary Tree Properties topic in division Binary Trees of Data Structures & Algorithms I
 
The question was asked by my school teacher while I was bunking the class.

1 Answers
Editor">Editor Staff answered 4 weeks ago

The correct option is (b) Depth
 
The best I can explain: The number of edges from the root to the node is called depth of the tree.