Priority Queue

Home > Computer Science > Algorithms and data structures > Heaps > Priority Queue

A priority queue is a data structure that stores items with priorities associated with them. It allows the highest priority item to be accessed at any given time.