← DSA practice

Evaluate Reverse Polish Notation

MediumStack

The problem

Evaluate an arithmetic expression written in Reverse Polish (postfix) notation.

Full statement, examples and constraints: see the original problem link below.

Solve it on LeetCode