Is the priority queue abstract data type.

Category: QuestionsIs the priority queue abstract data type.
Editor">Editor Staff asked 5 months ago

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 Answers
Editor">Editor Staff answered 5 months ago

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.


Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17

Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17

Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17

Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17
Articles: 40701