Tree Visualization
(BST maintains sorted order through structure)
STEM Interactive Visual Learning Program at TEC-Bridge AI
(BST maintains sorted order through structure)
Binary Search Tree (BST) is a binary tree where left child values are smaller than parent, and right child values are larger than parent.
Key Properties:
BST stands for Binary Search Tree, a fundamental data structure that maintains sorted order through its structural properties.
Strengths:
Limitations:
| Operation | Average Case | Worst Case |
|---|---|---|
| Insert | O(log n) | O(n) |
| Delete | O(log n) | O(n) |
| Search | O(log n) | O(n) |
| Space | O(n) | O(n) |