Pergunta de entrevista da empresa Scott Logic

String manipulation problem - remove repeated characters from a string.