Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Data-Structures-and-Algorithms
/ push
Method
push
Python/stack using linked list.py:30–33 ·
view source on GitHub ↗
(self,value)
Source
from the content-addressed store, hash-verified
28
return
False
29
30
def
push(self,value):
31
node=Node(value)
32
node.next=self.LinkedList.head
33
self.LinkedList.head = node
34
35
#pop
36
def
pop(self):
Callers
1
stack using linked list.py
File · 0.45
Calls
1
Node
Class · 0.70
Tested by
no test coverage detected