Halloween SalePremium questions, over 30% offUnlock all premium questions for over 30% off
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.
...
Asked at:Uber
More Uber interview questions
- Process CPU Time Calculatormedium
- Weight Partition Checkmedium
- Hierarchy Path Findermedium
- Unimodal Cost Function Minimummedium
- Straight Line Sequence Searchmedium
- Capital Gains Tax Calculatorhard
- OA [CodeSignal] Adventure Levelshard
- OA [CodeSignal] Balanced Numbers in Permutationhard
OfferRetriever
Master technical interviews with real questions from top companies. Build your confidence and career.
LEGAL
© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.