Pregunta de entrevista de Accenture

Coding question about unique characters in string