gravatar

Blog # 55 : Premutations of every subset


Given a array of characters of size N. Devise an algorithm to generate all possible permutations of given size K (K <= N).

Click here to see the solution.
p.s. - For Remarks please hit the given link once. For Hint, hit it twice and for the solution, hit it thrice.




Courtesy: Vibhaj