An Immediate Algorithm for DAGs
Learn about a single-source shortest-paths algorithm for directed acyclic graphs.
We'll cover the following
Looking at the idea of path-relaxation, our first fleeting thought is a wish to magically conjure an ordering of the edges so that relaxing them in that order would compute the shortest paths for all vertices in a digraph.
Get hands-on with 1400+ tech skills courses.