To produce the n! permutations of the integers 1, 2, 3,...,n, begin with the smallest permutationin lexicographic order, namely, 123 ··· n, and successively apply the procedure describedfor producing the next larger permutation of n! − 1 times. This yields all the permutations ofthe n smallest integers in lexicographic order
đang được dịch, vui lòng đợi..
