Question d’entretien chez Bose

Write codes to detect the duplicate letter in a string