Microsoft Interview Question

Removing Duplicates in a given array