3. Z-algorithm for pattern matching #

Created Monday 27 July 2020

It is a patten matching algorithm. Z(k) → length of longest substring starting at k which is also the prefix of the string e.g a a c b y a a k a a c 0 1 0 0 0 2 1 0 3 1 0 Make the array @ToBeDone