Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/subbarayudu-j/TheAlgorithms-Python
/ get_dict
Method
get_dict
sorts/external-sort.py:65–66 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
63
self.buffers = {i: None
for
i in range(self.num_buffers)}
64
65
def
get_dict(self):
66
return
{i: self.buffers[i]
for
i in range(self.num_buffers)
if
i not in self.empty}
67
68
def
refresh(self):
69
for
i in range(self.num_buffers):
Callers
1
merge
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected