Hi,
I have a requirement where i have to find a list of combinations where the sum =180.
I have an array of intergers and have to pick up the elements from this array only.
For example :
Array = {30,45,60,15,60,30}
now i as an output should get - 60,60,30,30 or 45,15,60,30,30 or 45,15,60,60
I am trying various approaches but its failing in one or the other scenario.
Please provide inputs.
Thanks