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.
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.