Maintain a contiguous window boundary across arrays to reduce O(N²) to O(N)
2 standard techniques
Window width stays exactly k.
Expand right; shrink left until valid.