I want to find the smallest sequence of numbers that are repeated in a given array.
Example: 1, 2, -2, 1, 2, -2, 1, 2, should output 3 because "1, 2, -2" is rep