Mindera interview question

Implement "Needle in a Haystack" string search method