This comment is hidden because it contains spoiler information about the solution
Well, I was wrong. There can't be two solutions.
Sum of combinations may be equal to the elements in the shuffled array but it's not necessarily the left out element. I have now completed the Kata too.
Thanks! It was really fun.
Hi
What if a list has multiple solutions? What should we do then? Please reply.
Thanks
Loading collection data...
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Well, I was wrong. There can't be two solutions.
Sum of combinations may be equal to the elements in the shuffled array but it's not necessarily the left out element. I have now completed the Kata too.
Thanks! It was really fun.
Hi
What if a list has multiple solutions? What should we do then?
Please reply.
Thanks
This comment is hidden because it contains spoiler information about the solution