MCPcopy Create free account
hub / github.com/BeeBombshell/Python-DSA / __init__

Method __init__

DSA/DoublyLinkedList.py:3–5  ·  view source on GitHub ↗
(self, v = None)

Source from the content-addressed store, hash-verified

1#class to create Node
2class 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
8class DoublyLinkedList:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected