Problem library

Sliding Window

All problems that are about sliding window.

29 / 29 problems
Problem Solved
Number of substrings containing all three characters
sliding-window
May 28, 2023
Count the number of good subarray
sliding-window
Jan 18, 2023
Maximize the confusion of an exam
sliding-window
Dec 9, 2022
Find k length substrings with no repeated characters
sliding-window
Dec 3, 2022
Longest substring with at most k distinct characters
sliding-window
Dec 3, 2022
Longest substring with at most two distinct characters
sliding-window
Dec 3, 2022
Sliding window median
sliding-window
Nov 23, 2022
Binary subarrays with sum
array-and-hashmap sliding-window
Nov 19, 2022
Longest substring of all vowels in order
sliding-window
Nov 15, 2022
Minimum swaps to group all 1s together II
sliding-window
Nov 1, 2022
Fruit into baskets
sliding-window
Oct 28, 2022
Max consecutive ones III
sliding-window
Oct 28, 2022
Max consecutive ones
sliding-window
Oct 28, 2022
Replace the substring for balanced string
sliding-window
Oct 28, 2022
Frequency of the most frequent element
sliding-window
Oct 9, 2022
Find the index of the first occurrence in a string
sliding-window
Oct 8, 2022
Minimum difference between highest and lowest of k scores
sliding-window
Oct 2, 2022
Maximum erasure value
sliding-window
Sep 8, 2022
Minimum consecutive cards to pick up
sliding-window
Sep 8, 2022
Repeated dna sequences
sliding-window
Sep 8, 2022
Get equal substrings within budget
sliding-window
Aug 30, 2022
Minimum size subarray sum
sliding-window
Aug 29, 2022
Substring with concatenation of all words
sliding-window
Aug 13, 2022
Minimum window substring
sliding-window
Aug 3, 2022
Sliding window maximum
sliding-window
Aug 3, 2022
Permutation in string
sliding-window
Aug 2, 2022
Longest repeating character replacement
sliding-window
Jul 29, 2022
Longest substring without repeating characters
sliding-window
Jul 24, 2022
Best time to buy and sell stock
sliding-window
Jul 17, 2022