The number of edges from the node to the deepest leaf is called _________ of the tree.

Category: QuestionsThe number of edges from the node to the deepest leaf is called _________ of the tree.
Editor">Editor Staff asked 5 months ago

The number of edges from the node to the deepest leaf is called _________ of the tree.
 
(a) Height
 
(b) Depth
 
(c) Length
 
(d) Width
 
My enquiry is from Binary Tree Properties in portion Binary Trees of Data Structures & Algorithms I
 
The question was asked in an interview for internship.

1 Answers
Editor">Editor Staff answered 5 months ago

The correct option is (a) Height
 
To explain: The number of edges from the node to the deepest leaf is called height 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