Search⌘ K
AI Features

Evaluate Reverse Polish Notation

Evaluate Reverse Polish Notation takes an array of numeric and operator tokens in reverse Polish notation; return its value, with integer division truncated toward zero.

Statement

Given an arithmetic expression in a ...