Priority queue (PQ)

Priority queue

A priority queue is an abstract data type that stores elements with associated priorities, where elements with higher priority are served before those with lower priority. It can be implemented using heaps or other methods such as unordered arrays, and is conceptually distinct from heaps.

1 courses cover this concept

CS 61B: Data Structures

UC Berkeley

Fall 2022

CS 61B focuses on software efficiency from design and runtime perspectives. It covers object-oriented programming with Java, teaching data structures and various programming concepts. The course promotes hands-on learning with optional assignments.

No concepts data

+ 55 more concepts