Microsoft interview question

Find the first unique character in a string. Improve complexity