TreeNode
new TreeNode(data, left, right)
Param | Default | Description |
---|---|---|
data | the node data | |
left | null |
the left node |
right | null |
the right node |
Param | Default | Description |
---|---|---|
data | the node data | |
left | null |
the left node |
right | null |
the right node |