Groups
Category
Level
Constructive algorithms build a valid answer directly by following a recipe, rather than searching exhaustively.
A derangement is a permutation with no element left in its original position, often written as !n or D(n).