Back to QuestionsPractice with This Question
Expression Add Operators
78.2K views•Asked at Stripe•
Hard
Question Explain
Given a string that contains only digits 0-9 and a target value, find all possibilities to insert binary operators (+, -, *) between the digits to evaluate to the target value. Use Backtracking.
Start Trying This Question Simulation
Practice answering orally or with text to get instant AI feedback.