Hexaware Technologies interview question

DSA - First repeating character in a string.