Leftmost Repeating Character Leetcode