</>OfferRetriever
DashboardDiscuss
NEW

July 4th Sale

Limited Time Deal: Unlock all premium questions for over 40% off

$10.42$6.25

10

:

09

:

29

:

53

Get this deal
Back to Dashboard

Worker Task Scheduler

Medium

You are given a list of tasks sorted by start time. Each task is represented as a three-element list [task_id, start_time, duration], where start_time is a 4-character string in HHMM format (e.g., "0130" means 1 hour and 30 minutes from midnight, i.e., 90 total minutes) and duration is a string representing the number of minutes the task takes.

Assign each task to a worker processor according to the following rules: ...