Pergunta de entrevista da empresa BNP Paribas

How to find the first non repeating character in the given string?