1.

AA-Trees makes more rotations than a red-black tree.(a) True(b) FalseThis intriguing question comes from Binary Trees in division Binary Trees of Data Structures & Algorithms II have been asked this question at a job interview.

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.



Discussion

No Comment Found

Related InterviewSolutions