1.

Which of the heaps is implemented by the following figure?(a) fibonacci heaps(b) pairing heap(c) skew heap(d) leftist heapThe above asked question is from Heap in portion Heap of Data Structures & Algorithms IThis question was addressed to me in quiz.

Answer» CORRECT answer is (b) PAIRING heap

The best I can explain: The above figure is a REPRESENTATION of a pairing heap because it has LEFT CHILDREN and right siblings.


Discussion

No Comment Found

Related InterviewSolutions