1.

A treap is a combination of a tree and a heap.(a) false(b) trueMy doubt is from Binary Trees in section Binary Trees of Data Structures & Algorithms IThe question was asked during an online exam.

Answer» RIGHT option is (b) true

Easy explanation - A treap is a COMBINATION of a TREE and a heap. The STRUCTURE of a treap is DETERMINED by the fact that it is heap-ordered.


Discussion

No Comment Found

Related InterviewSolutions