can anyone pls guide me to solve the math problem.
there is an array of numbers and operators and one solution no say 34
e.g.
input 1: {1, 2, 4, 6, 9, 18, 24, 25, 28, 40, +, -, *, /, ^ }
input 2: 34
need to find all the possible eqns which result is 34.
e.g. a)6 * 9 - 20
b)40 - 6
any idea or algorithm for the same.


Reply With Quote



