Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/BeeBombshell/Python-DSA
/ Node
Class
Node
DSA/SinglyLinkedList.py:2–6 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
#class to initialise a Node
2
class
Node:
3
#Constructor
4
def
__init__(self, v):
5
self.data = v
6
self.next = None
7
8
#class for Singly Linked List
9
class
SinglyLinkedList():
Callers
3
addFront
Method · 0.70
addTail
Method · 0.70
insert
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected