Question d’entretien chez Standard Chartered Bank

How to traverse in an array ?