1.

A leftist heap is also said to be a binary heap.(a) true(b) falseMy question comes from Heap topic in chapter Heap of Data Structures & Algorithms II have been asked this question in final exam.

Answer»

The correct answer is (a) true

Easiest EXPLANATION - A LEFTIST heap has a STRUCTURAL property and an ordering property which is similar to that of a binary heap. Hence, leftist heap is also SAID to be binary heap.



Discussion

No Comment Found

Related InterviewSolutions