iamantony / CppNotes

My notes about C++
MIT License
1 stars 3 forks source link

Min time to run all projects #26

Open iamantony opened 6 years ago

iamantony commented 6 years ago

You have a list of projects. Each project have ID, runtime and list of sub-projects. Project could be started only after all its sub-projects would be done. Different projects could have similar sub-projects (1 or more). Different projects can be performed simultaneously. Calculate the minimum time for which all projects will be completed.