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

  1. Read the vague prompt (just like a real interview)
  2. Ask clarifying questions to the AI interviewer
  3. Write your python solution with real code execution
  4. Get instant feedback and a hire/no-hire decision