Compute the final integer value of an arithmetic expression written in postfix notation (Reverse Polish Notation). In postfix notation, operators follow their operands. The operators permitted are +, -, *, and /. Division of integers must discard fractional parts, truncating toward zero. You are guaranteed that the input represents a valid expression and that division by zero will not occur.
Visualizer will appear here