Pregunta de entrevista de HAP Capital

How would you implement rolling average?