Groups
Category
Convolution turns local pairwise combinations (like matching characters or adding two dice) into a single fast transformโmultiplyโinverse pipeline.
Bitmask DP subset enumeration lets you iterate all submasks of a given mask using the idiom for (s = mask; s > 0; s = (s - 1) & mask).