algorithms.tutorialhorizon.com
Print All Combinations of subset of size K from Given Array | Algorithms
Generate all subsets of a fixed size k of a given set [1,2,3...n]. e.g, if n=5 and k=3, the output will look like 1 2 3 1 2 4 1 2 5 1 3 4 1 3 5 1 4 5 2 3 4 2 3 5 2 4 5 3 4 5