calc v1.0.0 API Reference
Modules
A calculator based on regex matching
Basic idea: convert the infix expression to the postfix expression. Reference: https://leetcode.com/problems/basic-calculator-iii/discuss/113598/
This is a calculator that can deal with +
, -
, *
, /
support negative
number and parentheses.
https://leetcode.com/problems/basic-calculator-iii/discuss/113590
A Stack data structure