Meta Interview Question

Moving average