Question d’entretien chez Bloomberg

Given an array of integers find dedupe the array.