Maximum Repeating Substring Leetcode Solutions Two