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

Go to the source code of this file.

Functions

size_t rbt_height (const t_rbt *rbt)
 Returns the number of tiers in the tree. More...
 

Function Documentation

◆ rbt_height()

size_t rbt_height ( const t_rbt rbt)

Returns the number of tiers in the tree.

Returns
The number of tiers
Note
(used primarily for debugging purposes)

Definition at line 28 of file rbt_height.c.