Pergunta de entrevista da empresa Visa Inc.

Find the first repeated character in a string