Bloomberg interview question

Given an array of integers find dedupe the array.