For how many vertices in a set, is top tree defined for underlying tree?

Category: QuestionsFor how many vertices in a set, is top tree defined for underlying tree?
Editor">Editor Staff asked 5 months ago

For how many vertices in a set, is top tree defined for underlying tree?
 
(a) 3
 
(b) 4
 
(c) 5
 
(d) 2
 
My enquiry is from Binary Trees in chapter Binary Trees of Data Structures & Algorithms I
 
I have been asked this question in an interview for job.

1 Answers
Editor">Editor Staff answered 5 months ago

Right answer is (d) 2
 
The best I can explain: Top tree is defined for a set having a maximum of 2 vertices for its underlying tree. Those sets having at maximum 2 vertices is called External Boundary Vertices.


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