Problem 150 · Medium

Evaluate Reverse Polish Notation

Use a stack: push numbers, pop two operands on each operator, push the result.

Open the interactive visualisation