Pregunta de entrevista de Microsoft

Find the first repeating character in a string.