DEV Community

MokhtarEbrahim
MokhtarEbrahim

Posted on

1

Dijkstra's algorithm in Python (Find Shortest & Longest Path)

Pathfinding Problem
Adjacency List Representation
Adjacency Matrix Representation
Computation Time and Memory Comparisons
Difficulties of Pathfinding
Dijkstra’s Shortest Path: Python Setup
Dijkstra’s Shortest Path: Step by Step
Putting it all Together
Longest Path and Maze Solving

https://likegeeks.com/python-dijkstras-algorithm/

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay