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

Method __init__

DSA/DoublyLinkedList.py:11–12  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

9
10 #constructor to initialise the doubly linked list, head and tail initialised to 'None'
11 def __init__(self):
12 self.head = self.tail = None
13
14 #method to check if the doubly linked list is empty or not
15 def isEmpty(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected