I know this has been covered, and believe me, I've looked around, but I haven't found a solution yet.
I am trying to figure out how to write a recursive function that will give every possible combination given a certain group size.
So, if the array is {1,2,3,4,5} and the group size is 3, I...