Permutations

Given n,k, write code to give all permutations of numbers of length 'k', where each 'individual' number can be in the range '1 to n'

No comments: