# A given series of numbers and arithmetic operations can bereached by different numbers.For example {

A given series of numbers and arithmetic operations can bereached by different numbers.For example {4,5,3,2,10,1} numbers and{+, * }this arithmetic operations using like this 5*3+2+(1+10)*4 (1+5)*10+2*(3+4) example:{2,5,1,4,10,3} {+,*,/ } target number is 45 output like this : 4 + (5 + (3(2 + (10/1)))) number format should be (xi ?(xj ?(xk ?(xi?…….)))) please help me for this problem recursice solution *There can be more than one result, in this case you only needone result. You do not have to use all of the arithmeticoperations, but you can not use any other operations.

The number sequence will only consist of integers. What you cando

you should use integer arithmetic in operations, if you can notfind the result exactly, you should find the closest result you canfind. *Array can be used. Stack etc. data structures can not beused *arithmetic operations and number array to be taken fromuser java programming language to be used. . . .

Tags:
0 replies