Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

dijkstra

Example implementation of dijkstra in Python. Dijkstra's algorithm finds the shortest path from a source node to all other nodes in a weighted graph with non-negative edge weights by using a greedy approach. It has a time complexity of O((V + E) log V). V is the number of vertices, and e is the number of edges.

Run

python dijkstra.py

Example Output

See screenshot.png for a sample run.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages