Pergunta de entrevista da empresa Virtusa

Coding to check the max charater occurence in given strung