Pergunta de entrevista da empresa Grid Dynamics

Program : find word occurences in a given string.