Pregunta de entrevista de Freelancer

Find frequency from the given string.