The Shortest-Paths Problem

Learn about the well-known variants of the shortest-paths problem.

“All roads lead to Rome,” says an old proverb.

But faced with sundry choices about which road to take to get to a destination, how does one decide? An obvious choice is the shortest one. Common sense may caution against routes with traffic congestion or routes that are expensive in terms of time or money.

Get hands-on with 1200+ tech skills courses.