滑动窗口均值
Description
Given a stream of integers, calculate the moving average within a fixed sliding window
Example 1:
Input: Numbers 1, 2, 3, 4, 5 - Sliding Window of 3
Output: 4
Given a stream of integers, calculate the moving average within a fixed sliding window
Input: Numbers 1, 2, 3, 4, 5 - Sliding Window of 3
Output: 4