Spring Hire Sale
Limited Time Deal: Unlock all premium questions for over 30% off
$10.42$7.08
08
:
03
:
14
:
18
Back to Dashboard
Nested Arithmetic Expression Evaluator
Medium
Nested Arithmetic Expression Evaluator
You are given a string expression containing nested calls to two functions: plus(a, b) and minus(a, b). Each call computes the sum or difference of its two arguments. Arguments may be integers (including negative integers) or nested function calls. Spaces may appear anywhere in the expression.
...