Meta Interview Question

Remove duplicates from array