Question d’entretien chez Amazon

Coding task were iterating a list using shifting windows.