LTM Limited Interview Question

Remove duplicates from a string