Halloween Sale
Unlock all premium questions for over 30% off
Fill Equation with Missing Operators
Hard
Question
An equation has lost all of its operators. Restore it by placing '+' and '*' between the numbers, plus parentheses '(' and ')' only where you cannot do without them, until the left-hand side is a well-formed expression worth exactly the target. Normal precedence applies: anything in parentheses is computed first, then products, then sums.
...
More Amazon interview questions
- Find Special DNA Sequence Pairsmedium
- Find Root Path In N-ary Treemedium
- Write Disk Blocks With Cycle Limitmedium
- Maximize Tasks Scheduled Within Time Limitmedium
- Count Days For Scheduled Task Completionseasy
- Find Longest Node Path In DAGhard
- Reduce Array To Bitonicmedium
- Make Server Power Non-decreasingeasy
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.