Status: IN
`MovingAverage.next()` runs in O(1) time by maintaining a running sum incrementally, avoiding O(k) re-summation of the deque on each call.
Source: entries/2026/06/06/moving-average-from-data-stream-solution.md
JSON