Pregunta de entrevista de WellDev

In the first technical round, asked sliding window question