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

Go to the source code of this file.

Functions

t_queuerbt_vals (const t_rbt *rbt)
 Returns a queue with all the value in the tree, sorted by the associated keys in the ascending order. More...
 

Function Documentation

◆ rbt_vals()

t_queue* rbt_vals ( const t_rbt rbt)

Returns a queue with all the value in the tree, sorted by the associated keys in the ascending order.

Returns
a queue with all the keys in the tree, sorted by the associated keys in the ascending order

Definition at line 26 of file rbt_vals.c.