This is a reference request for algorithms textbooks that address the common "sliding window" problems that come up in whiteboarding. If not textbooks per se, I'm looking for a more conceptual presentation than you might find in a Medium article, say.
My favorite algorithms textbooks are the ones by Skiena and Erickson, for context. I also enjoy functional programming, if there's anything there.
I want to avoid restricting myself to the case of a fixed-width window. Bonus points if the source breaks up the problem into components in an enlightening way.