Mental Model
A priority queue is like a line where people with higher importance get served first, not just the ones who came first.
Analogy: Imagine a hospital emergency room where patients with more serious conditions are treated before others, regardless of arrival time.
Priority Queue: [10] -> [5] -> [3] -> null ā highest priority at front
