TheAlgorithms/C++ 1.0.0
All the algorithms implemented in C++
|
A Node struct that represents a single node in a Binary Tree. More...
Public Member Functions | |
Node (int64_t _data) | |
Creates a new Node with some initial data. | |
Public Attributes | |
int64_t | data |
The value of the Node. | |
Node * | left |
The Node's left child. | |
Node * | right |
The Node's right child. | |
A Node struct that represents a single node in a Binary Tree.
Definition at line 34 of file reverse_binary_tree.cpp.
|
inlineexplicit |
Creates a new Node with some initial data.
< Set value of Node data
< Initialize left child to NULL
< Initialize right child to NULL
Definition at line 41 of file reverse_binary_tree.cpp.
int64_t operations_on_datastructures::reverse_binary_tree::Node::data |
The value of the Node.
Definition at line 35 of file reverse_binary_tree.cpp.
Node* operations_on_datastructures::reverse_binary_tree::Node::left |
The Node's left child.
Definition at line 36 of file reverse_binary_tree.cpp.
Node* operations_on_datastructures::reverse_binary_tree::Node::right |
The Node's right child.
Definition at line 37 of file reverse_binary_tree.cpp.