Expression Add Operators

Given a string num containing only digits and a target integer, add operators +, -, * between digits to form expressions that evaluate to the target. Return all valid expressions.

Examples
Input: ["123",6]
Output: ["1*2*3","1+2+3"]
Hints

Expression Add Operators

Given a string num containing only digits and a target integer, add operators +, -, * between digits to form expressions that evaluate to the target. Return all valid expressions.