Pergunta de entrevista da empresa CEVA

a string is given: find the first non repeated letter , write the function in c