Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Jack-Lee-Hiter/AlgorithmsByPython
/ length
Method
length
BinarySearchTree.py:49–50 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
47
self.size = 0
48
49
def
length(self):
50
return
self.size
51
52
def
__len__(self):
53
return
self.size
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected