Which of the following data structures is best suited for efficient implementation of priority queue?
(A) Array
(B) Linked List
(C) Heap
(D) Stack
Answer: (C)
Explanation: Refer https://www.geeksforgeeks.org/binary-heap/amp/
Quiz of this Question
Data Structures | Misc | Question 10
Recommended Articles