Loading...
The Event Bucketer
A easy Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- easy
- Seniority
- senior
Problem
The analytics dashboard needs a quick breakdown of event counts grouped by hour and event type. Raw logs come in with timestamps and event labels. Write a function that buckets log entries into hourly windows and counts each event type within each 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.