+1 vote
in Data Structures & Algorithms I by (88.2k points)
Is the priority queue abstract data type.

(a) True

(b) False

This interesting question is from Ternary Heap in chapter Heap of Data Structures & Algorithms I

I had been asked this question in class test.

1 Answer

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

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.

Categories

...