Loading interview...
The Hourly Bucket
A medium Python mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- Python
- Difficulty
- medium
- Seniority
- mid, senior
Interview Prompt
Write a function that groups events by the hour they occurred. Each event is a dict with 'ts' (ISO timestamp like 'YYYY-MM-DDTHH:MM:SS') and 'type'. Return a dict mapping the hour prefix 'YYYY-MM-DDTHH' to a list of event type strings in original order.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write your python solution with real code execution
- Get instant feedback and a hire/no-hire decision