ABB Interview Question

Find the first repeating character in a string