MCPcopy Create free account
hub / github.com/geekcomputers/Python / inorder

Function inorder

binary_search_tree.py:173–181  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

171
172
173def inorder(node):
174 # L N R : Left, Node , Right
175 if node is None:
176 return
177 if node.left:
178 inorder(node.left)
179 print(node.info)
180 if node.right:
181 inorder(node.right)
182
183
184def preorder(node):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected