Fidessa Interview Question

Check for repeated characters in a string.