Loading interview...
The Stream Joiner
A hard Python mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- Python
- Difficulty
- hard
- Seniority
- senior, staff
Interview Prompt
Two sensor streams produce readings at slightly different times, and the correlation engine needs to pair them up by closest timestamp within a tolerance window. Write a function that joins two sorted event streams, matching each event from stream A to the nearest event in stream B within the allowed time difference.
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