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

Method __init__

BinaryTree.py:2–5  ·  view source on GitHub ↗
(self, rootObj)

Source from the content-addressed store, hash-verified

1class BinaryTree:
2 def __init__(self, rootObj):
3 self.key = rootObj
4 self.leftChild = None
5 self.rightChild = None
6
7 def insertLeft(self, newNode):
8 if self.leftChild == None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected