Problem 1297 · Medium
Find the greatest frequency of an allowed repeated substring.
Open the interactive visualisation