Question d’entretien chez Amazon

Array based coding question was asked