IBM interview question

given an array of strings print all strings without duplicates.