MCPcopy Create free account
hub / github.com/BeeBombshell/Python-DSA / __init__

Method __init__

Tree Data Structure/morris_traversal.py:3–6  ·  view source on GitHub ↗
(self, data, left=None, right=None)

Source from the content-addressed store, hash-verified

1
2class Node:
3 def __init__(self, data, left=None, right=None):
4 self.data = data
5 self.left = left
6 self.right = right
7
8
9def morris_traversal(root):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected