Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Jack-Lee-Hiter/AlgorithmsByPython
/ isEmpty
Method
isEmpty
Queue.py:42–43 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
40
self.items = []
41
42
def
isEmpty(self):
43
return
self.items == []
44
45
def
addRear(self, item):
46
self.items.insert(0, item)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected