1.

How many different shapes does maintenance of AA-Tree need to consider?(a) 7(b) 5(c) 2(d) 3Origin of the question is Binary Trees topic in chapter Binary Trees of Data Structures & Algorithms II had been asked this question by my college professor while I was bunking the class.

Answer»

Right CHOICE is (c) 2

To explain: An AA-TREE needs to CONSIDER only TWO shapes UNLIKE a red-black tree which needs to consider seven shapes of transformation.



Discussion

No Comment Found

Related InterviewSolutions