Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Jack-Lee-Hiter/AlgorithmsByPython
/ enqueue
Method
enqueue
Queue.py:8–9 ·
view source on GitHub ↗
(self, item)
Source
from the content-addressed store, hash-verified
6
return
self.items == []
7
8
def
enqueue(self, item):
9
self.items.insert(0, item)
10
11
def
dequeue(self):
12
return
self.items.pop()
Callers
2
hotPotato
Function · 0.95
Queue.py
File · 0.80
Calls
1
insert
Method · 0.80
Tested by
no test coverage detected