Question d’entretien chez RBC

A python coding question with sliding window pattern