Week 3 · Day 17 of 42

Stack: Expression Evaluation

Use a stack of numbers. When you see an operator, pop operands, compute, push result.

Checking access

Spotted a mistake on this page?

Wrong formula, broken animation or confusing wording. Tell us and we will fix it.