Domanda di colloquio di Amazon

Given a string, find its first unique character.