Question d’entretien chez Thomson Reuters

Iterate through array and identify possible patterns.