Mental Model
A stack is like a pile where you add or remove items only from the top. Checking if it is empty means seeing if there is nothing to remove, and checking if it is full means seeing if you cannot add more.
Analogy: Imagine a stack of plates. If there are no plates, the stack is empty. If the stack reaches the top of the shelf, it is full and you cannot add more plates.
Top -> [ 3 ] -> [ 2 ] -> [ 1 ] -> null Index: βtop
