SAP Ariba interview question

program that finds unique char in string, removing repetition