Which special balanced binary search tree is used to store the nodes of auxiliary tree?

Category: QuestionsWhich special balanced binary search tree is used to store the nodes of auxiliary tree?
Editor">Editor Staff asked 5 months ago

Which special balanced binary search tree is used to store the nodes of auxiliary tree?
 
(a) Red – Black Tree
 
(b) Red – Brown Tree
 
(c) Red – Yellow Tree
 
(d) Red – Tango Tree
 
This intriguing question comes from Binary Trees in portion Binary Trees of Data Structures & Algorithms I
 
The question was posed to me during an interview.

1 Answers
Editor">Editor Staff answered 5 months ago

Correct option is (a) Red – Black Tree
 
For explanation: The path starting from the root and following the path of preferred child node till the end of leaf node is known as preferred path. Nodes are stored in Red – Black tree for the representation of the preferred path.


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: 40701