Mental Model
A queue is a line where the first person in is the first person out. Using an array, we keep track of where the line starts and ends.
Analogy: Imagine a line of people waiting to buy tickets. The first person to get in line is the first to get the ticket and leave. The line is like an array, and we remember who is at the front and who is at the back.
front -> [ ] [ ] [ ] [ ] [ ] ← rear indexes 0 1 2 3 4
