Glossary: Coding Interviews in C++
Sliding window
Also written: window
A run of neighboring items between `left` and `right` that moves along the list, keeping a running total by adding the item entering and subtracting the one leaving. It is O(n).
Glossary: Coding Interviews in C++
Also written: window
A run of neighboring items between `left` and `right` that moves along the list, keeping a running total by adding the item entering and subtracting the one leaving. It is O(n).