I've seen a few questions with this kind of followup question, a couple of which are sliding window based but I can't seem to generalize what questions can be extrapolated to this.
Does anyone have a general strategy to handle this kind of follow up question?