Meta interview question

Moving Average

Interview Answer

Anonymous

30 July 2018

Well, add elements to a queue until the window is full, if it is, enqueue and dequeue it calculating the new average!