Question d’entretien chez Microsoft

Find the first unique character in a string. Improve complexity