Astrotalk Interview Question

Remove duplicate numbers in an array.