Frage im Vorstellungsgespräch bei Palantir Technologies

How to remove duplicates in an array

Antwort im Vorstellungsgespräch

Anonym

29. Juli 2010

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

3