Mental Model
A dynamic stack grows its storage automatically when full, so you never run out of space while adding items.
Analogy: Imagine a backpack that magically expands when you try to put in more books than it can hold, so you never have to leave a book behind.
Stack array: [1, 2, 3, null, null] Top index: ↑ 2 (points to 3) Capacity: 5