Check out my first novel, midnight's simulacra!

Knuth-Morris-Pratt Algorithm