Pergunta de entrevista da empresa HAP Capital

How would you implement rolling average?