AlgoMaster Logo

Moving Average from Data Stream

windowSize=3,values=[1, 10, 3, 5]
0 / 23
11035keep the average of the last 3 value(s) as the stream flowssum = 0
algomaster.io
Step:Initialize MovingAverage with window size 3.