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: [10] -> [5] -> [3] -> [1] -> null ā front (highest priority)