Fidessa Interview Question

First repeating character in the string