What did you learn? Sliding window works for contiguous subarray/substring problems where you need to find an optimal window satisfying some constraint.
Fixed windows slide one position at a time. Variable windows expand and shrink based on conditions.
Each element is processed at most twice (once added, once removed). You get time despite nested loops. Look for keywords: "contiguous," "subarray," "substring," "window of size k."