ENuke Software interview question

2. Remove Duplicates from an array