Return to Article Details A Program for Generating All Permutations of {1, 2, ..., n} Download Download PDF