new Node(value, left, right, parent)
Node of the tree.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
value |
Number
|
String
|
Value of the node. |
left |
Node
|
Left sibling. |
right |
Node
|
Right sibling. |
parent |
Node
|
Parent of the node. |