Mental Model
A stack is a collection where the last item added is the first one taken out. This is called Last In, First Out (LIFO).
Analogy: Think of a stack of plates: you put a new plate on top and take the top plate off first.
Top ↑ [ 3 ] [ 2 ] [ 1 ] Bottom null
