Pergunta de entrevista da empresa UL Solutions

how to find the first non repeating character in a string.