Sliding Window turns substring problems into by incrementally updating state as the window moves. The pattern clicks when you realize each element enters and exits the window exactly once.
You'll reach for this whenever you see "contiguous subarray" or "substring" with optimization. If you can explain these concepts in your own words, you'll solve related problems faster under interview pressure.