Mental Model
A sliding window moves over the array to look at a small part at a time, updating results without starting over.
Analogy: Imagine looking through a small window on a long fence and sliding it step by step to see different parts without moving back.
Array: [1] [2] [3] [4] [5] [6] [7] [8] Window size 3: [1] [2] [3] โwindow [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ]
