Comment Comment by its_bbq Yes I meant specifically for Kevin Bacon. There are other all pairs shortest paths algorithms besides running Dijkstra N times parent its_bbq 2 years ago