Sollicitatievraag bij IBM

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