Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ pop
Method
pop
data_structures/binary_tree/avl_tree.py:29–32 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
27
self.tail = self.tail + 1
28
29
def
pop(self) -> Any:
30
ret = self.data[self.head]
31
self.head = self.head + 1
32
return
ret
33
34
def
count(self) -> int:
35
return
self.tail - self.head
Callers
3
__str__
Method · 0.95
build_tree
Function · 0.45
breadth_first_search
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected