Mental Model
A queue is a line where the first person in is the first person out. It helps manage tasks in the order they arrive.
Analogy: Imagine waiting in line at a grocery store checkout. The first person to get in line is the first to be served and leave the line.
front -> [1] -> [2] -> [3] -> null rear ↑
