Loading video...
QuickNotes™ 
Priority Queue and Heap
A Priority Queue is a data structure that consists of several queues each assigned a specific priority, and the data is stored and retrieved according to their priority assigned to them.
In a heap, the records are stored in an array such that each key is guaranteed to be larger than the keys at two other specific positions.
Heaps can be implemented using arrays or linked list.
Common operations: Insert, delete any element, delete largest element, and change priority.
Discussion 
Please login to ask a question and view discussion.













