Priority queues

A priority queue is an abstract data structure which supports two main operations:

  1. Adding an element to the queue
  2. Popping the element with the highest priority
Priority queues A priority queue is an abstract data structure which supports two main operations: Adding an element to the queue Popping the element with the highest priority

Heap

By Ivan Todorov

Heap

  • 1,061