+1 vote
in Data Structures & Algorithms I by (110k points)
Is Treap a randomized tree.

(a) True

(b) False

My question is from Binary Trees in portion Binary Trees of Data Structures & Algorithms I

The question was asked during an interview for a job.

1 Answer

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

The explanation is: Treap is a type of data structure which is a combination of binary tree and heap. It is an example of a randomized binary search tree. It stores value in pairs.

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.