Source: wikibot/node-deletion
= Node deletion
{wiki=Node_deletion}
Node deletion generally refers to the process of removing a node from a data structure, often in the context of tree or graph data structures. The specific implications and methods for node deletion can vary depending on the type of structure: \#\#\# In the context of trees: 1. **Binary Trees / Binary Search Trees (BST):** - **Leaf Node:** If the node to be deleted is a leaf (no children), it can be simply removed.