</>OfferRetriever
DashboardDiscuss
NEW

July 4th Sale

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

$10.42$6.25

10

:

09

:

31

:

27

Get this deal
Back to Dashboard

Parallel Task Scheduler

Hard

Question

You are given n tasks, each taking a certain number of hours to complete. Tasks may depend on other tasks - a task cannot start until all its prerequisites are completed. You also have k identical workers who can execute tasks in parallel. ...