Knuth-Morris-Pratt algorithm, strings

Level D