Problem 1297 · Medium

Maximum Number of Occurrences of a Substring

Find the greatest frequency of an allowed repeated substring.

Open the interactive visualisation