Skip to content

Sliding Window

Maintain a running result over a moving subarray — avoiding redundant recomputation at every step.