First Repeating Character Leetcode