IBM Interview Question

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