Mental Model
A stack is like a special box where you can only add or remove items from the top, while an array is a general list where you can add or remove items anywhere. Using a stack keeps things simple and safe.
Analogy: Imagine a stack of plates in a cafeteria: you can only put a new plate on top or take the top plate off. An array is like a shelf where you can grab or put plates anywhere, which can get messy.
Stack (top on right): bottom -> 1 -> 2 -> 3 -> top Array (index): [0]1, [1]2, [2]3
