Priority queues
medium 18 minA priority queue serves the item with the highest (or lowest) priority first, whatever order items arrived in.
A priority queue serves the item with the highest (or lowest) priority first, whatever order items arrived in.