Bloomberg Interview Question

Given an array of integers find dedupe the array.