My Project
Public Member Functions | Public Attributes | List of all members
BSTNode Class Reference

BST Node class. Available member functions include initialising constructor. More...

Collaboration diagram for BSTNode:
Collaboration graph
[legend]

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
 

Detailed Description

BST Node class. Available member functions include initialising constructor.

Constructor & Destructor Documentation

◆ BSTNode()

BSTNode::BSTNode ( ll  val)
inline

Construct a new BSTNode object.

Parameters
[in]valinput value of the node

The documentation for this class was generated from the following file: