Pergunta de entrevista da empresa Amazon

string searching algorithm (knuth morris pratt but they accepted O(n^2) brute force)