leaps.ggTRACK YOUR MASTERY →
PROBLEMS/SLIDING WINDOW/VARIABLE-SIZE WINDOW (EXPAND/CONTRACT)

Variable-Size Window (Expand/Contract) Problems

78 Variable-Size Window (Expand/Contract) problems on LeetCode, a Sliding Window interview pattern, ranked by importance (how often it comes up in real interviews). Difficulty (ELO) and importance shown per problem.

#PROBLEMDIFFELOIMPPATTERNS
1Minimum Window SubstringMedium159495
Frequency Counting / Hash Map Lookup
2Longest Substring Without Repeating CharactersEasy130193
Frequency Counting / Hash Map Lookup
3Longest Repeating Character ReplacementMedium157188
Frequency Counting / Hash Map Lookup
4Max Consecutive Ones IIIMedium165688
Same-Direction (Fast/Slow on Arrays)
5Minimum Size Subarray SumEasy132587
Binary Search on Answer Space · Prefix Sums
+ 73 more Variable-Size Window (Expand/Contract) problems, see all in the explorer →
MORE SLIDING WINDOW PATTERNS
Fixed-Size WindowVariable-Size Window (Expand/Contract)Window with Monotonic Deque
// your mastery
Bronze tier crystalSilver tier crystalGold tier crystalPlatinum tier crystalDiamond tier crystal
What's your Variable-Size Window (Expand/Contract) tier?

leaps.gg syncs your LeetCode history, scores your Variable-Size Window (Expand/Contract) mastery, and recommends exactly which problems to do next with spaced repetition. Free to start.

GET MY MASTERY MAP →