Question d’entretien chez IBM

Array based problem on traversing it