KMP Search Algorithm

Document:
Word: