Given a stream of integers, this technical problem describes how to print out the average of all the integers seen so far at each point in the stream.

A.I. Evaluation of the Solution

The candidate's solution is correct and demonstrates a level of completeness. The solution is optimal in terms of time and space complexity.

Evaluated at: 2022-11-25 06:16:46