Question d’entretien chez Codegenio

Detect patterns in arrays and design algorithm to sort them accordingly.