LESSON 02 / 02

Sliding Window

Slide a window across an array or string, updating a running answer instead of recomputing — for maximum sums, longest substrings and more.

🎓Mediumlevel
⏱️45 minto finish
✏️2activities

📂 Two Pointers & Sliding Window🏷️ Sliding window

🔒

You’ve finished your free lessons! 🎉

Create a free account to unlock every lesson, save your progress, keep your streak and get personal review suggestions. It takes 20 seconds.