Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 544 Bytes

File metadata and controls

6 lines (5 loc) · 544 Bytes

Shortest Path

The shortest path problem is about finding a path between 2 vertices in a graph such that the total sum of the edges weights is minimum. This problem could be solved easily using (BFS) if all edge weights were (1), but here weights can take any value. Three different algorithms are discussed below depending on the use-case.