Function rbtree_node_black_height
Defined in File rbtree.h
Function Documentation
-
int rbtree_node_black_height(const struct bstree_node *node)
Get the black height of a node in an RB Tree.
- Parameters:
node – The root of the tree to get the height of.
- Returns:
The height or 0 if the node is NULL.