Function bstree_delete
Defined in File bstree.h
Function Documentation
-
status_t bstree_delete(struct bstree *tree, struct bstree_node *victim, void *elt)
Delete a node from the tree.
The algorithm from this function is from Introduction_To_Algorithms
- Parameters:
tree – The BST handle
victim – The node to delete
elt – To be filled with the data of the deleted node if non-NULL
- Returns: