CME Group interview question

Find duplicate characters in a string