You are given an array of strings tokens that represents an arithmetic expression in Reverse Polish Notation (postfix notation).
Evaluate the expression and return the result as an integer.
Valid operators are +, -, *, and /. Each operand can be either an integer or another expression. Division truncates toward zero (not floor division). The answer is guaranteed to fit in a 32-bit integer.
Input: tokens = ["2", "1", "+", "3", "*"] Output: 9 Explanation: ((2 + 1) * 3) = 9
Input: tokens = ["4", "13", "5", "/", "+"] Output: 6 Explanation: (4 + (13 / 5)) = (4 + 2) = 6
1 <= tokens.length <= 10^4tokens[i] is either an operator "+", "-", "*", or "/", or an integer in the range [-200, 200].["2", "1", "+", "3", "*"]