Loading...

The Shifting Standard

A medium Python interview practice problem on DataDriven. Write and execute real python code with instant grading.

Domain
Python
Difficulty
medium
Seniority
senior

Problem

Our streaming ingestion monitor computes running averages as data batches arrive. Write a function that processes a list of batches (each a list of numbers) and after each batch, returns the running average of all numbers seen so far across all batches.

Practice This Problem

Solve this Python problem with real code execution. DataDriven runs your Python code in a sandboxed Docker environment and grades it instantly.