1.

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 TreeThis intriguing question comes from Binary Trees in portion Binary Trees of Data Structures & Algorithms IThe question was posed to me during an interview.

Answer»

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.



Discussion

No Comment Found

Related InterviewSolutions