Meta interview question

Moving average