+1 vote
in Data Structures & Algorithms I by (110k points)
AA-Trees makes more rotations than a red-black tree.

(a) True

(b) False

This intriguing question comes from Binary Trees in division Binary Trees of Data Structures & Algorithms I

I have been asked this question at a job interview.

1 Answer

+1 vote
by (672k points)
selected by
Best answer
The correct choice is (a) True

The best explanation: AA- trees make more rotations than a red-black tree since only two shapes are considered for an AA-Tree whereas seven shapes are considered in Red-Black trees.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.