My problem is to find the repeating sequence of characters in the given array. simply, to identify the pattern in which the characters are appearing.
I'd convert the array to a String object and use regex