Mental Model
A circular queue uses an array where the end connects back to the start, so we reuse empty spaces efficiently.
Analogy: Imagine a round table where people sit in seats numbered 0 to n-1. When you reach the last seat, you go back to the first seat to fill empty spots.
Front and Rear pointers moving in a circle: [0] -> [1] -> [2] -> [3] -> [4] ↑ ↑ Rear Front Empty spots wrap around the array.
