Fidessa interview question

First repeating character in the string