Solution: Find the Shortest Path in a Small Town
Follow step-by-step instructions to calculate the shortest path using Dijkstra's algorithm in Python.
The solution to the exercise
To solve the problem, we complete the lines calling Dijkstra's algorithm:
Get hands-on with 1300+ tech skills courses.