Sliding Window
27 / 170Sliding WindowLesson 6 of 6About 40 min
Two problems rebuilt cold, plus the distinction between maximizing and minimizing windows.
Find the shortest stretch of an array whose sum is at least a target, with all values positive. Which loop shape fits?
You have solved this one before. Rebuild it from scratch without looking at your old submission. If the approach does not come back within a few minutes, that is the signal that it needs another pass.
You have solved this one before. Rebuild it from scratch without looking at your old submission. If the approach does not come back within a few minutes, that is the signal that it needs another pass.