Pergunta de entrevista da empresa IBM

given an array of strings print all strings without duplicates.