Glossary: Coding Interviews in Go
Sliding window
Also written: pattern 10, window
A run of neighboring items from `left` to `right` that moves along a slice while you keep a running total. A variable-size window grows with `right` and shrinks from `left` while over a limit, and needs non-negative numbers.