Overview
A Binary Search Tree (BST) is a type of binary tree that stores elements in a specific order. This order makes searching, inserting, and deleting efficient.| Operations | Complexity | Description |
|---|---|---|
| Search | O(log n) | The value is found by moving left or right. |
| Insert | O(log n) | Need to move through the tree to find where the new item should go. |
| Remove | O(log n) | Need to move through the tree to find the item you want to remove. |
- Nodes in the left subtree are smaller than the current node.
- Nodes in the right subtree are greater than or equal to the current node.

Implementation
Binary Search Tree