Find the length of the longest substring that occurs at least twice in a string without the two occurrences overlapping.
Find the length of the longest substring that occurs at least twice in a string without the two occurrences overlapping.
The discussion opens with the full question.