Frage im Vorstellungsgespräch bei IBM

Coding question: How to remove duplicate characters from a character array.