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

Method removeHead

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

Source from the content-addressed store, hash-verified

56
57 #method to remove the element at head
58 def removeHead(self):
59 temp = self.head
60 self.head = temp.next
61 temp.next.prev = None
62 temp = None
63
64 #method to remove element at tail
65 def removeTail(self):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected