Question d’entretien chez Amazon

Sliding window and a non-algorithm python question