Pregunta de entrevista de Paycom

Leetcode- Take out duplicates from a string.