Mental Model
A stack stores items in order, last in first out. It can be built using a linked list or an array, each with different strengths and weaknesses.
Analogy: Think of a stack like a stack of plates. Using an array is like a fixed-size tray where plates are stacked neatly but limited in space. Using a linked list is like stacking plates on a flexible pole that can grow or shrink as needed.
Array Stack: [bottom] [1] -> [2] -> [3] [top] Linked List Stack: Top -> 3 -> 2 -> 1 -> null
