Maximum Repeating Substring Leetcode Contest