Sliding window

Sliding window — maximum sum subarray of size k

Step 1 / 10
You need the maximum sum among every contiguous subarray of exactly length k in one pass. What stays true as the window moves?
Hints 5/5