By Topic
- All Problems
- math (282)
- matrix-exponentiation (188)
- implementation (121)
- strings (103)
- combinatorics (93)
- dp (87)
- graphs (70)
- kmp (55)
- sorting (49)
- digit-dp (35)
- number-theory (34)
- prefix-sums (32)
- greedy (32)
- games (24)
- two-pointers (24)
- bitwise (23)
- binary-search (22)
- geometry (21)
- segment-tree (15)
- trees (15)
- bfs (14)
- aho-corasick (13)
- stack (11)
- sliding-window (10)
- game-theory (9)
- union-find (9)
- grundy (8)
- intervals (8)
- fenwick (7)
- heap (7)
- sparse-table (5)
- prefix-sum (5)
- interval-dp (5)
- suffix-array (4)
- linear-algebra (4)
- lazy-propagation (4)
- binary-lifting (4)
- bitmask (4)
- divide-and-conquer (4)
- offline (3)
- scc (3)
- shortest-paths (3)
- euler-tour (2)
- deque (2)
- manacher (2)
- mobius (2)
- nim (1)
- constructive (1)
- trie (1)
- sweep-line (1)
- brute-force (1)
- rerooting (1)
- pollard-rho (1)
- hashing (1)
- 2-sat (1)
- matching (1)
- knapsack (1)
- flow (1)
By Difficulty
Daily Challenge:
Paths Around the Walls
(1500)
Solve it to start a streak
sliding-window Problems
10 practice problems tagged sliding-window , from difficulty 1200 to 1800 — solve them in our in-browser judge with instant verdicts. Browse all problems.
Related: two-pointers stack strings deque
| Problem | Topics | Solvers | Acceptance | Difficulty | |
|---|---|---|---|---|---|
| Best Window of Size K | sliding-window | 0 | — | 1200 | |
| Coldest Stretch | sliding-window | 0 | — | 1200 | |
| Windows Reaching the Target | sliding-window | 0 | — | 1300 | |
| Most Distinct Window | sliding-window | 0 | — | 1400 | |
| Longest Affordable Streak | sliding-window two-pointers | 0 | — | 1400 | |
| Shortest Sufficient Stretch | sliding-window two-pointers | 19 |
66%
|
1500 | |
| Anagram Windows | strings sliding-window | 0 | — | 1500 | |
| Ones with K Flips | sliding-window two-pointers | 0 | — | 1500 | |
| Sliding Window Minimum | sliding-window stack | 0 | — | 1600 | |
| Longest Stable Window | sliding-window deque | 0 | — | 1800 |