Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/subbarayudu-j/TheAlgorithms-Python
/ isEmpty
Method
isEmpty
Graphs/dijkstra_algorithm.py:18–19 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
16
self.pos = {}
# To store the pos of node in array
17
18
def
isEmpty(self):
19
return
self.cur_size == 0
20
21
def
min_heapify(self, idx):
22
lc = self.left(idx)
Callers
1
dijkstra
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected