Altimetrik interview question

Find out the first repeatative character in a string