Learn Before
Concept

Dijkstra's Algorithm

Dijkstra's algorithm uses a min - priority queue to find the shortest path from a node designated as the source node to all of the other nodes. It can be used to find the shortest distance from one city to another or to find the best route when using a GPS.

0

1

Updated 2021-05-11

Tags

Python Programming Language

Data Science