← All problems
Evaluate Reverse Polish Notation
Evaluate an arithmetic expression in Reverse Polish Notation.
Complexity
Time O(n), Space O(n)
Common pitfalls
- Operand order swapped
- Using float division
Your solution
Log in to save your code and track progress.