Question d’entretien chez Meta

Moving Average

Réponse à la question d'entretien

Utilisateur anonyme

30 juill. 2018

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