Pergunta de entrevista da empresa ServiceNow

find the first non repeating character from the string.