Pergunta de entrevista da empresa Freelancer

Find frequency from the given string.