Mental Model
Removing the first item from a list means shifting all other items one step left to fill the gap.
Analogy: Imagine a line of people waiting to buy tickets. When the first person leaves, everyone else moves forward one step to keep the line tight.
Index: [0] -> [1] -> [2] -> [3] -> null Value: 10 -> 20 -> 30 -> 40
