Evaluate Reverse Polish Notation - Practice Coding | SlaveCode
0
0123456789
0
0123456789
:
0
0123456789
0
0123456789
150. Evaluate Reverse Polish Notation
Medium
30 Points
Array
Math
Stack
You are given an array of strings tokens that represents an arithmetic expression in a Reverse Polish Notation.
Evaluate the expression. Return an integer that represents the value of the expression.
Note that:
tokens[i] is either an operator: "+", "-", "*", or "/", or an integer in the range [-200, 200].
150. Evaluate Reverse Polish Notation
Medium
30 Points
Array
Math
Stack
You are given an array of strings tokens that represents an arithmetic expression in a Reverse Polish Notation.
Evaluate the expression. Return an integer that represents the value of the expression.
Note that: