Pergunta de entrevista da empresa AFour Technologies

Coding Question - Count Repeated characters in a string