Microsoft Interview Question

Find the first unique character in a string. Improve complexity