Mental Model
A queue is like a line where the first person in is the first person out. We use an array to hold the people in order.
Analogy: Imagine a line at a ticket counter. People join at the end and leave from the front, just like a queue using an array.
front -> [ ] [ ] [ ] [ ] [ ] <- rear indexes 0 1 2 3 4
