MCPcopy
hub / github.com/HuberTRoy/leetCode / TreeNode

Class TreeNode

Tree/BinarySearchTree.py:12–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10# 生成树操作。
11
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 12

makeBinarySearchTreeMethod · 0.85
makeMethod · 0.85
__init__Method · 0.85
insertMethod · 0.85
makeTreeMethod · 0.85
constructMethod · 0.85
constructFromPrePostMethod · 0.85
deserializeMethod · 0.85
_deserializeMethod · 0.85
__init__Method · 0.85
addMethod · 0.85
makeBSTByInorderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected