Question d’entretien chez IBM

given an array of strings print all strings without duplicates.