Given the list of a maximum of 10 numbers, where all numbers
are different in the list create a method that will
return all possible combinations in each combination the
of the numbers should be equal to 10.
example: input number list {0,2,3,5,10}
output is
{2,3,5} {0,10}
are different in the list create a method that will
return all possible combinations in each combination the
of the numbers should be equal to 10.
example: input number list {0,2,3,5,10}
output is
{2,3,5} {0,10}
Comment