Maximum Repeating Substring Leetcode 75