Maximum Repeating Substring Leetcode Interview