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

Method empty

data_structures/avl.py:152–155  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

150 self.rotate_right(node)
151
152 def empty(self):
153 if self.root is None:
154 return True
155 return False
156
157 def preShow(self, curr_node):
158 if curr_node is not None:

Callers 3

build_treeFunction · 0.45
level_orderFunction · 0.45
level_order_actualFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected