Pregunta de entrevista de City of Vaughan

Remove the duplicates from the given string.