+1 vote
in Data Structures & Algorithms I by (88.2k points)
Which of the heaps is implemented by the following figure?

(a) fibonacci heaps

(b) pairing heap

(c) skew heap

(d) leftist heap

The above asked question is from Heap in portion Heap of Data Structures & Algorithms I

This question was addressed to me in quiz.

1 Answer

+1 vote
by (672k points)
selected by
Best 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.

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.