Mental Model
We use a stack to keep numbers until we find an operator, then combine the last two numbers using that operator.
Analogy: Imagine a chef stacking ingredients on a plate. When the chef sees a cooking instruction, they take the last two ingredients, mix them, and put the result back on the plate.
Stack (top at right): [] Expression: 2 3 + 4 * Initial stack is empty. Numbers push onto stack -> [2] -> [2,3] Operator '+' pops last two numbers, adds, pushes result -> [5] Next number 4 pushes -> [5,4] Operator '*' pops last two, multiplies, pushes -> [20]
