Epic interview question

Remove duplicate characters in a string