Question d’entretien chez Amazon

The sliding window problem from leetcode.