Expression Add Operators Simplified Variant

Given a string num containing only digits and an integer target, return all expressions that can be built by inserting the binary operators +, -, and * between some digits so that the expression evaluates to target.

Check more interview questions and experiences about Pinterest

Please log in to view interview question details