Question d’entretien chez Microsoft

Find the first repeating character in a string.