Job Scheduler: Minimum Workers with Assignment History
Asked at Lyft · Coding Questions · Difficulty: Medium · Last asked Apr 13, 2026
Given jobs with start time and duration, assign them to the minimum number of workers so no worker runs overlapping jobs. Unlike plain Meeting Rooms II, the output must include each job's worker assignment, and idle-worker ties should choose the smallest worker id.
Loading the problem…