How to evaluate an expression using Reverse Polish Notation in LeetCode-150?