Question d’entretien chez Cobblestone Energy

Standard sliding window problem from leetcode