Paycom Interview Question

Given an input string, remove all duplicate characters.