Pregunta de entrevista de Google DeepMind

Sliding window coderpad question with arrays and loops