Question d’entretien chez ServiceNow

Asked me to solve an array problem.