Mental Model
A priority queue is like a line where people with higher importance get served first, no matter when they arrive.
Analogy: Imagine a hospital emergency room where patients with more serious conditions are treated before others, even if they arrived later.
Priority Queue: [ 5 ] -> [ 3 ] -> [ 4 ] -> [ 1 ] -> null ā front (highest priority)
