Question d’entretien chez Amazon

Debug a provided code snippet (iterator in for loop was being incremented incorrectly)