Pergunta de entrevista da empresa Zillow

During the phone interview, they asked me to write code to find the first unique character in a string.