MCPcopy Index your code
hub / github.com/Jack-Lee-Hiter/AlgorithmsByPython / getRootVal

Method getRootVal

BinaryTree.py:32–33  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

30 self.key = obj
31
32 def getRootVal(self):
33 return self.key
34
35 # 树的前序遍历
36 # 树的后序遍历以及中序遍历见ParseTree.py

Callers 5

evaluateFunction · 0.80
postorderFunction · 0.80
postorderevalFunction · 0.80
inorderFunction · 0.80
printexpFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected