Question d’entretien chez Infosys Solutions

How do you check for duplicates in a string array