Question d’entretien chez Meta

Implement a tree. The second question was about moving average