PINEAL.ME   Archives  About

Sliding Window Problems

Sliding Window Problems

719. Find K-th Smallest Pair Distance

Binary Search + Sliding Window

76. Minimum Window Substring

209. Minimum Size Subarray Sum

239. Sliding Window Maximum

340. Longest Substring with At Most K Distinct Characters

159. Longest Substring with At Most Two Distinct Characters

30. Substring with Concatenation of All Words

3. Longest Substring Without Repeating Characters

array