Finding the longest multiple repeat

Sign in to test your solution.