Minimum time to finish target courses in a prerequisite DAG

0
Remix

Courses form a directed acyclic graph of prerequisites and each course takes a given time; any number of courses can run at once as soon as their prerequisites are done. Return the earliest time at which a given set of target courses is finished. Only the targets and what they depend on matter.

MetaCodingLast asked Dec 2025
No answer yet. Write the first one; the best answer gets endorsed.