1.

Is the priority queue abstract data type.(a) True(b) FalseThis interesting question is from Ternary Heap in chapter Heap of Data Structures & Algorithms II had been asked this question in class test.

Answer»

Correct OPTION is (a) True

To explain: Priority QUEUE is an ABSTRACT data type. It is also the extension of the Queue data STRUCTURE where all the ELEMENTS have been assigned some priority and on the basis of this priority, the elements are dequeued from the structure.



Discussion

No Comment Found

Related InterviewSolutions