Available question text
Compute the moving average of step counts over a fixed-size sliding window for an array or stream of measurements, producing the average for each contiguous window efficiently. The core challenge is to update the average incrementally (O(1) per new value) to handle large or streaming inputs and edge cases like partial windows.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
Meta
Leetcode 2854. Rolling Average Steps
Reported Nov 22, 2025 · 2 source reports
SENIOR, STAFF
Source snapshot: Nov 12, 2026
View source