+1 vote
in Data Structures & Algorithms I by (110k points)
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 depends

Asked question is from Binary Trees topic in chapter Binary Trees of Data Structures & Algorithms I

I got this question in my homework.

1 Answer

+1 vote
by (672k points)
selected by
 
Best 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.

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.

Categories

...