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 5 months 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 5 months 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.


Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17

Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17

Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17

Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17
Articles: 40702