Pregunta de entrevista de Grid Dynamics

Program : find word occurences in a given string.