Knuth-Morris-Pratt algorithm

GPTKB entity