Chapter 4: Q14E (page 133)
You are given a strongly connected directed graph with positive edge weights along with a particular . Give an efficient algorithm for finding shortest paths between all pairs of nodes, with the one restriction that these paths must all pass through .
Short Answer
All Pairs Shortest Path Algorithm is used to find the shortest distance between all pairs of nodes in a graph.