Dijkstra algorithm, which solves the single-source shortest--paths problem, is a , and the Floyd-Warshall algorithm, which finds shortest paths between all pairs of vertices, is a .
- AGreedy algorithm, Divide-conquer algorithm
- BDivide-conquer algorithm, Greedy algorithm
- CGreedy algorithm, Dynamic programming algorithm
- DDynamic programming algorithm, Greedy algorithm