Evaluate Reverse Polish Notation

Title: Evaluate Reverse Polish Notation Source: leetcode.com

Evaluate the value of an arithmetic expression in Reverse Polish Notation.

Valid operators are +, -, *, /. Each operand may be an integer or another expression.

Some examples:


Python solution

Rate this post

Leave a Reply