0
The question is. There is a set An, and it consists of integers from 1 to n.
An={1, 2, 3, ..., n}
Print all subsets of size K in An. And it must be generated in order like the example below.
So for example, n=5 k=3
{1, 2, 3} {1, 2, 4} {1, 2, 5} {1, 3, 4} {1, 3, 5} {1, 4, 5} {2, 3, 4} ... {3, ...