Paycom interview question

Given an input string, remove all duplicate characters.