Maximum Repeating Substring Leetcode Solutions