1.

Is Treap a randomized tree.(a) True(b) FalseMy question is from Binary Trees in portion Binary Trees of Data Structures & Algorithms IThe question was asked during an interview for a job.

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.



Discussion

No Comment Found

Related InterviewSolutions