MCPcopy Create free account
hub / github.com/HuberTRoy/leetCode / __init__

Method __init__

Tree/BinarySearchTree.py:14–18  ·  view source on GitHub ↗
(self , val, left=None, right=None)

Source from the content-addressed store, hash-verified

12class TreeNode(object):
13
14 def __init__(self , val, left=None, right=None):
15
16 self.val = val
17 self.left = left
18 self.right = right
19
20
21class binarySearchTree(object):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected