[LeetCode] Basic Calculator II

1 · · May 12, 2021, 10:32 a.m.
227. Basic Calculator II Given a string s which represents an expression, evaluate this expression and return its value. The integer division should truncate toward zero. Note: You are not allowed to use any built-in function which evaluates strings as mathematical expressions, such as eval(). ...