Pregunta de entrevista de Fidessa

Check for repeated characters in a string.