Leetcode First Repeating Character