Mental Model
A stack is like a pile where you add or remove items only from the top. When the pile gets full, we make it bigger automatically to hold more items.
Analogy: Imagine a stack of plates. You can only add or take the top plate. If the stack is too tall for the shelf, you get a bigger shelf and move all plates there.
Array: [1, 2, 3, null, null] Top points here ↑ Stack: 1 -> 2 -> 3 -> null
