Pergunta de entrevista da empresa Amazon Lab126

Find first repeating character from a given string