Loading interview...
Minimum Parallel Workers
A hard SQL mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- SQL
- Difficulty
- hard
- Seniority
- senior, staff
Interview Prompt
Determine the minimum number of parallel workers required to run all batch jobs without conflicts. Each job has a start and end timestamp and can overlap with others. Duplicate job entries should be counted once, and jobs missing start or end times should be excluded. Find the peak number of concurrently running jobs at any point.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write your sql solution with real code execution
- Get instant feedback and a hire/no-hire decision