A Node struct that represents a single Node in a Binary Tree.
More...
|
| Node (int64_t _data) |
| Creates a new Node with some initial data.
|
|
| Node (int64_t _data, Node *_next) |
| Creates a new Node with initial data and a successor.
|
|
|
int64_t | data |
| The value of the Node.
|
|
Node * | next |
| The Node's successor.
|
|
A Node struct that represents a single Node in a Binary Tree.
◆ Node() [1/2]
operations_on_datastructures::circular_linked_list::Node::Node |
( |
int64_t | _data | ) |
|
|
inlineexplicit |
Creates a new Node with some initial data.
- Parameters
-
< Set value of Node data
< Initialize successor
39 {
42 }
int64_t data
The value of the Node.
Definition circular_linked_list.cpp:33
Node * next
The Node's successor.
Definition circular_linked_list.cpp:34
◆ Node() [2/2]
operations_on_datastructures::circular_linked_list::Node::Node |
( |
int64_t | _data, |
|
|
Node * | _next ) |
|
inlineexplicit |
Creates a new Node with initial data and a successor.
- Parameters
-
_data | Value of Node |
_next | Pointer to the next Node |
< Set value of Node data
< Initialize successor
The documentation for this struct was generated from the following file: