New York Times Interview Question

Remove Duplicates from an array