Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
evaluate
Function · 0.80
postorder
Function · 0.80
postordereval
Function · 0.80
inorder
Function · 0.80
printexp
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected