Skip to content
Related Articles
Get the best out of our app
GFG App
Open App
geeksforgeeks
Browser
Continue

Related Articles

Data Structures | Queue | Question 5

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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.

(A)

Array

(B)

Linked List

(C)

Heap Data Structures like Binary Heap, Fibonacci Heap

(D)

None of the above



Answer: (C)

Explanation:

Heap Data Structures like Binary Heap, Fibonacci Heap would be the answer.


Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Last Updated : 04 Feb, 2013
Like Article
Save Article
Similar Reads
Related Tutorials