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

Method isEmpty

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

Source from the content-addressed store, hash-verified

10 self.head = 0
11 self.tail = 0
12 def isEmpty(self):
13 return self.head == self.tail
14 def push(self,data):
15 self.data.append(data)
16 self.tail = self.tail + 1

Callers 1

traversaleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected