Search⌘ K
AI Features

Evaluate Reverse Polish Notation

Evaluate Reverse Polish Notation by computing an arithmetic expression given as tokens, where each operator follows its operands. Return the result, with integer division truncated toward zero.

Statement

Given an arithmetic expression in a ...