Concepts2
⚙️AlgorithmIntermediate
Constructive Algorithm Techniques
Constructive algorithms build a valid answer directly by following a recipe, rather than searching exhaustively.
#constructive algorithm#greedy construction#invariant+12
∑MathIntermediate
Derangements
A derangement is a permutation with no element left in its original position, often written as !n or D(n).
#derangement#subfactorial#inclusion-exclusion+11