Pergunta de entrevista da empresa Amazon

Q: Find the first non-repeating character in a string.