Longest Repeating Character Replacement Leetcode Solution