Desquared interview question

Find the first repetitive character in a string