Pergunta de entrevista da empresa Indeed

First Unique Character in a String. Follow-up: Longest string with only unique characters.