Pregunta de entrevista de Zeta

Rotten oranges and maximum subarray sum with array length equals k