You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
Dijkstra's algorithm finds the shortest path from a single source vertex to every other vertex in a weighted graph with non-negative edge weights. It is one of the most important algorithms in discrete mathematics and computer science.
Given a weighted graph and a starting vertex S, find the shortest (minimum weight) path from S to every other vertex.
Create a table with columns:
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.