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