Pergunta de entrevista da empresa Google

Find all matches of a small string str2 in a big string str1