Groups
Category
Sliding window is a technique that moves a contiguous segment (window) across an array or string while maintaining some running information like sum, count, or max.
A queue is a First-In-First-Out (FIFO) line where you add at the back and remove from the front in O(1) time.