MCPcopy Create free account
hub / github.com/Jack-Lee-Hiter/AlgorithmsByPython / __init__

Method __init__

AVL.py:45–47  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

43
44class BinarySearchTree:
45 def __init__(self):
46 self.root = None
47 self.size = 0
48
49 def length(self):
50 return self.size

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected