Deloitte Interview Question

Delete duplicate elements in an array