Finding MK Average
Try to solve the Finding MK Average problem.
We'll cover the following...
Statement
You are given two integers, m and k, and a stream of integers. Your task is to design and implement a data structure that efficiently calculates the MK Average for the stream.
To compute the MK Average, follow these steps:
...
Ask