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

Go to the source code of this file.

Functions

void * rbt_max (const t_rbt *rbt)
 Returns the largest key in the tree. More...
 

Function Documentation

◆ rbt_max()

void* rbt_max ( const t_rbt rbt)

Returns the largest key in the tree.

Returns
The largest key in the tree, or NULL, if the tree is empty.

Definition at line 16 of file rbt_max.c.