Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ dijkstra_alternate.py
File
dijkstra_alternate.py
graphs/dijkstra_alternate.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
from
__future__
import
annotations
2
3
4
class
Graph:
Callers
nothing calls this directly
Calls
2
Graph
Class · 0.70
dijkstra
Method · 0.45
Tested by
no test coverage detected