Google DeepMind interview question

Sliding window coderpad question with arrays and loops