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/
Quiz of this Question
Ready to dive in? Explore our Free Demo Content and join our DSA course, trusted by over 100,000 neveropen!