All problems
Sliding window problems
8 problems: 1 easy, 6 medium and 1 hard. Start at the top; each one assumes the ones above it.
- Not startedEasyThe best k days in a rowArrays, Sliding window
- Not startedMediumBest run after k changesStrings, Sliding window
- Not startedMediumLongest stretch with no repeatsStrings, Sliding window, Hash maps
- Not startedMediumShortest stretch that reaches the targetArrays, Sliding window
- Not startedMediumThe first negative number in every windowArrays, Sliding window, Stacks and queues
- Not startedMediumThe longest run of ones, with k flipsArrays, Sliding window
- Not startedMediumTwo baskets, one row of treesArrays, Sliding window, Hash maps
- Not startedHardThe largest number in every windowArrays, Sliding window, Stacks and queues