Question d’entretien chez KPMG

In an array of strings, remove all the duplicates and print the modified array.