INTERMEDIATE · 3 PRACTICE PROBLEMS
Sliding Window
Move your window. Keep what matters.

THE CORE IDEA
Sliding window
Maintain a useful slice of your input as its left and right boundaries move.
O(n)A good place to practice
Start simple, then build up to the next challenge.
| Solved | Problem | Difficulty | Topic | Acceptance | Bookmark |
|---|---|---|---|---|---|
| Best Time to Buy and Sell Stock | Easy | Sliding Window | 54.8% | ||
| Longest Substring Without Repeating Characters | Medium | Sliding Window | 36.1% | ||
| Minimum Window Substring | Hard | Sliding Window | 44.7% |