Data Structures | Queue | Question 5

Last Updated :
Discuss
Comments

A priority queue can efficiently implemented using which of the following data structures? Assume that the number of insert and peek (operation to see the current highest priority item) and extraction (remove the highest priority item) operations are almost same.

Array

Linked List

Heap Data Structures like Binary Heap, Fibonacci Heap

None of the above

Share your thoughts in the comments