1.

Comparing the speed of execution of Red-Black trees and AA-trees, which one has the faster search time?(a) AA-tree(b) Red-Black tree(c) Both have an equal search time(d) It dependsAsked question is from Binary Trees topic in chapter Binary Trees of Data Structures & Algorithms II got this question in my homework.

Answer»

The CORRECT answer is (a) AA-tree

Easiest EXPLANATION - Since an AA-tree TENDS to be FLATTER, AA-tree has a faster SEARCH time than a Red-Black tree.



Discussion

No Comment Found

Related InterviewSolutions