Question d’entretien chez X

array number manipulation and returning after simple computation