MCPcopy Index your code
hub / github.com/BeeBombshell/Python-DSA / isEmpty

Method isEmpty

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

Source from the content-addressed store, hash-verified

13
14 #method to check if the List is empty
15 def isEmpty(self):
16 if (self.head == self.tail == None):
17 return True
18 return False
19
20 #method to count thee no. of nodes in the list
21 def count(self):

Callers 7

countMethod · 0.95
addFrontMethod · 0.95
addTailMethod · 0.95
removeHeadMethod · 0.95
removeTailMethod · 0.95
deleteMethod · 0.95
displayMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected