RBC interview question

A python coding question with sliding window pattern