Search⌘ K
AI Features

Evaluate Reverse Polish Notation

Evaluate Reverse Polish Notation reads an arithmetic expression as tokens where each operator follows its operands. Return its value, with integer division truncated toward zero.

Statement

Given an arithmetic expression in a ...