Loading...
The Event Aggregator
A medium Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- medium
- Seniority
- mid, senior
Problem
The analytics pipeline receives a firehose of timestamped bidding events and needs them rolled up into fixed time windows for the reporting dashboard. Write a function that groups events into buckets of a given width and returns the count and total value per window.
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.