Glossary: Coding Interviews in Java
Sliding window
Also written: window, windowTotal
A run of neighboring items between `left` and `right` that moves along an array, keeping a running total by adding the item that enters and subtracting the one that leaves. A variable window shrinks from the left while over a limit.