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

Method __init__

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

Source from the content-addressed store, hash-verified

9class SinglyLinkedList():
10 #constructor to initialise head and tail of a Singly Linked List. Iniltially set to None
11 def __init__(self):
12 self.head = self.tail = None
13
14 #method to check if the List is empty
15 def isEmpty(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected