Loading...

The Event Overlap Detector

A medium Python interview practice problem on DataDriven. Write and execute real python code with instant grading.

Domain
Python
Difficulty
medium
Seniority
senior

Problem

The on-call scheduling system needs to flag whenever two events overlap so conflicts can be resolved before they cause pager fatigue. Write a function that takes a list of named events (each with a start and end time) and returns all pairs of events that overlap. Boundary touches are not overlaps.

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.