Least You Need to Know: Stacks, Postfix Evaluation, and Expression State
Les openen
Stacks evaluate postfix expressions because operands arrive before the operator that combines them. When the operator appears, the most recent operands are popped, combined, and the result is pushed back for later use.