Generation of Combinatorial Objects · Generating Permutations
Lesson 1
Programming problem.
Write a program that reads an integer \(1 \le n \le 7\) and prints all permutations of \([n]\).
Public samples
Input
1
Expected output
1
Generation of Combinatorial Objects · Generating Permutations
Programming problem.
Write a program that reads an integer \(1 \le n \le 7\) and prints all permutations of \([n]\).
1
1