Back to Back
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
A maintenance-window export hands you a list of `[start, end]` pairs in `intervals`, and many of them overlap. Collapse each group of overlapping ranges into a single span that runs from the earliest start to the latest end, and return the cleaned spans.
Summary
Windows stacked on windows. Find the real spans.
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