Pergunta de entrevista da empresa Medley

Write a function that returns the first non-repeating character in a string.