Pregunta de entrevista de C&D Labs

Print duplicate character with count in a string