Question d’entretien chez Palantir Technologies

How to remove duplicates in an array

Réponse à la question d'entretien

Utilisateur anonyme

29 juill. 2010

arr = new HashSet(Arrays.asList(arr)).toArray();

3