Spring Hire Sale
Limited Time Deal: Unlock all premium questions for over 30% off
$10.42$7.08
08
:
03
:
12
:
37
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: ...