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

Go to the source code of this file.

Functions

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

Function Documentation

◆ rbt_keys()

t_queue* rbt_keys ( const t_rbt rbt)

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

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

Definition at line 26 of file rbt_keys.c.