wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Which of the following statement is true regarding Priority Queue?

A
It is a data structure
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
In this, the intrinsic ordering of the element does determine the result of its basic operations
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
Array implementation of Priority Queue is not possible
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
All of the above
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution

The correct option is C All of the above

Priority queue:-

A priority queue is an abstract data type which is like a regular queue or stack data structure, but where additionally each element has a "priority" associated with it. In a priority queue, an element with high priority is served before an element with low priority.

In priority queue, the intrinsic ordering of the element does determine the result of its basic operations.

Array implementation of priority queue is not possible.



939435_918139_ans_6465795551554dbaae47b302b1e4237b.PNG

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Organising Data
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon