DataDriven
LearnPracticeInterviewDiscussDailyJobs

The Event Overlap Detector

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
L5

Interview Prompt

Given events as a list of [name, start, end], return all pairs [name_a, name_b] where the two events overlap in time (name_a's interval and name_b's interval share at least one instant). Intervals are half-open [start, end): an event ending exactly when another starts does not overlap. Each pair appears exactly once with name_a's interval starting no later than name_b's. Sort output by (start of name_a, start of name_b).

Summary

Overlapping events. The calendar knows.

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

Related

  • All Mock Interviews
  • Practice Mode (untimed)
  • Python Interview Questions
  • Data Engineering Interview Prep Guide
  • Practice Problems
  • Daily Challenge