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 your shelf, you get a bigger shelf and move all plates there.
Stack array: [ 1, 2, 3, null, null ] Top index: ↑ 2 (points to 3) null means empty space ready for new items
