Question d’entretien chez Google

Return array without duplicates (consider space complexity)