MCPcopy Create free account
hub / github.com/subbarayudu-j/TheAlgorithms-Python / pop

Method pop

data_structures/binary tree/AVLtree.py:17–20  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

15 self.data.append(data)
16 self.tail = self.tail + 1
17 def pop(self):
18 ret = self.data[self.head]
19 self.head = self.head + 1
20 return ret
21 def count(self):
22 return self.tail - self.head
23 def print(self):

Callers 1

traversaleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected