Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Jack-Lee-Hiter/AlgorithmsByPython
/ isEmpty
Method
isEmpty
Lists.py:28–29 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
26
self.head = None
27
28
def
isEmpty(self):
29
return
self.head == None
30
31
def
add(self, item):
32
temp = Node(item)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected