Skip to content
core-pattern

Sliding Window

Maintain a valid moving window while expanding and shrinking to optimize contiguous subarray and substring problems.

Problems

Problems in Sliding Window

Practice problems that share this primary solution pattern and compare the clues that reveal it.