About this document
Sliding Window by abhi74 is a document available to read on EtoBox.
The document discusses the sliding window technique to find the sum of each sliding window of size K in an array. It also discusses how to handle a sliding window problem when the inputs are received as a stream rather than an array. The solution maintains a queue of size K and adds/removes elements to/from the queue to keep the sliding window size fixed as new elements are added.
- Author
- abhi74
- Language
- EN