BSTNode

Create a node for BinarySearchTree

Constructor

new BSTNode(value)

Parameters:
NameTypeDescription
valuenumber

The value to be stored in the node

Properties
NameTypeDescription
valuenumber

The value stored in the node

leftBSTNode | null

The left node in the tree

rightBSTNode | null

The right node in the tree