leetcode

150. Evaluate Reverse Polish Notation

Solution

Time complexity: O(n)

Space complexity: O(n)