Pergunta de entrevista da empresa XYZ (Turkey)

how do you get the first non repeatable character from a string