Coffee Meets Bagel Interview Question

LeetCode moving average from data stream