This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
i need to constract a method which gets the two numbers "n" and "k" and prints all the avaible subgroops in "k size" for example :
subsetofsize(4,2) prints
12 41 13 32 42 34
i know i should use this recursion of subsets i need to change it some how i know how it works but i dont have any clue of how to change it in order to get the resolt i was asked in the question