My Project
|
BST Node class. Available member functions include initialising constructor. More...
#include <DSA.h>
Public Member Functions | |
BSTNode (ll val) | |
Construct a new BSTNode object. More... | |
Public Attributes | |
ll | info |
info stored in the node | |
ll | level |
level of the node | |
BSTNode * | left |
pointer to the left child | |
BSTNode * | right |
pointer to the right child | |
BST Node class. Available member functions include initialising constructor.
BSTNode::BSTNode | ( | ll | val | ) |
Construct a new BSTNode object.
[in] | val | input value of the node |