Peak Concurrent Batch Jobs
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L4
Problem
The scheduler team is sizing capacity by finding the worst pile-up. A job is running between its start and end time. Return the largest number of jobs that were running at the same instant, as a single number. If a job ends and another starts at the exact same time, treat the ending one as finishing first.
Summary
Jobs pile up. Find the moment the scheduler sweats the most.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.