DSA Hacking Club Library
Loading...
Searching...
No Matches
treenode Struct Reference

A node in the binary search tree. More...

#include <bst.h>

Collaboration diagram for treenode:

Public Attributes

int value
 Value stored in this node.
struct treenodeleft
 Pointer to left child.
struct treenoderight
 Pointer to right child.

Detailed Description

A node in the binary search tree.

Each node stores an integer value and pointers to its left and right children.


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