permutation

One particular ordering of a set of items; three items have six permutations.

In more detail

n items have n factorial permutations, which grows faster than exponential. The course generates them with a recursive generator that picks each remaining item in turn and recurses; itertools.permutations does the same in the standard library.

Related terms

Taught in

References