Groups
Category
Convolution turns local pairwise combinations (like matching characters or adding two dice) into a single fast transformโmultiplyโinverse pipeline.
The Z-function of a string S computes for each position i the length of the longest substring starting at i that matches the prefix of S.