1.

On which data structure is a d-ary heap based?(a) stack(b) queue(c) linked list(d) priority queueI'd like to ask this question from Heap in portion Heap of Data Structures & Algorithms IThe question was posed to me in a national level competition.

Answer» CORRECT choice is (d) priority queue

The best EXPLANATION: d-ary heap is a priority queue based data structure that is a GENERALIZATION of BINARY heaps.


Discussion

No Comment Found

Related InterviewSolutions