Pregunta de entrevista de Thomson Reuters

Iterate through array and identify possible patterns.