Nagravision Interview Question

count and remove duplicate items in a char array