Microsoft Interview Question

Question regarding moving window calculation in data stream algorithms