Thought Exercise: Longest Paths in DAG

Think about how to find a longest path in a DAG.

We'll cover the following

Principal of reuse

We already have a simple algorithm for computing shortest paths in DAGs. Can we employ it to find the longest paths in DAGs?

Get hands-on with 1400+ tech skills courses.