Amazon interview question

Something that has to do with using sliding window