43.6k views
2 votes
1. Given two numbers, n and k ( 0< n, k <=12), generate all the pemutations taking k letters from n letters (nPk) considering first n small alphabets.

2. Use the idea of backtracking (recursion).

User Jeffehobbs
by
6.8k points

1 Answer

2 votes
It is 5jsjsjdhhdhdhdhdhdhdhdhdhd
User Ali Imran
by
5.4k points