data_structures
Functions
bst_size.c File Reference
#include "bst.h"
+ Include dependency graph for bst_size.c:

Go to the source code of this file.

Functions

size_t bst_size (const t_bst *bst)
 Returns the number of elements in this tree. More...
 

Function Documentation

◆ bst_size()

size_t bst_size ( const t_bst bst)

Returns the number of elements in this tree.

Returns
the number of elements in this tree.

Definition at line 16 of file bst_size.c.