Pregunta de entrevista de Citi

Implement a class that calculates moving average.