Given two positive integers n and k, print all increasing sequences of length k such that the elements in every sequence are from first n natural numbers.
dp nice
1 Article
1
Given two positive integers n and k, print all increasing sequences of length k such that the elements in every sequence are from first n natural numbers.