DEV Community


Discussion on: Dijkstra's algorithm in python: algorithms for beginners

saumitabose62 profile image
Soumita Bose

What changes should i do if i dont want to use the deque() data structure?
Also how to read the graph contents from a file with the below structure
a / b / 3
a / c / 5
Source node: a
Destination node: j

Forem Open with the Forem app