This post is a collection of various resources that I found useful in learning the sliding winodw pattern and the thought/concepts behind it.
You may visit this is in any order.
But here's the order that I found logical and building on each stage.
- https://medium.com/@zengruiwang/sliding-window-technique-360d840d5740
- https://medium.com/outco/how-to-solve-sliding-window-problems-28d67601a66
- https://medium.com/outco/how-to-solve-the-house-robber-problem-f3535ebaef1b
- Explanations of solutions to leetcode problems on Sliding Window: https://medium.com/leetcode-patterns/leetcode-pattern-2-sliding-windows-for-strings-e19af105316b