Google DeepMind Interview Question

Sliding window coderpad question with arrays and loops