Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/geekcomputers/Python
/ delete_head
Method
delete_head
singly_linked_list.py:58–61 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
56
curr_pos += 1
57
58
def
delete_head(self):
59
temp = self.head
60
self.head = temp.next
61
del temp
62
63
def
delete_end(self):
64
curr = self.head
Callers
1
delete
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected