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 line and keep track of where the front and back are.
Analogy: Imagine a line at a coffee shop. People join at the end and leave from the front. The array holds the people, and two markers show who is first and last in line.
front -> [ ] [ ] [ ] [ ] [ ] ← rear indexes 0 1 2 3 4
