1062: Longest Repeating Substring

Problem Statement