AlgorithmsSliding Window

Sliding Window

A technique for processing contiguous subarrays or substrings efficiently.