LESSON 10 / 22

Sliding Window

To find the best stretch of K items in a row, slide a window along the list: add the item coming in, subtract the item going out.

๐ŸŽ“Hardlevel
โฑ๏ธ15 minto finish
โœ๏ธ2activities

๐Ÿ“‚ Algorithmic Thinking๐Ÿท๏ธ Algorithms

๐Ÿ”’

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.