Bloomberg Interview Question

Remove duplicates from a array