Self-balancing binary search tree implementation (AVL or Red-Black) for efficient search, insertion, and deletion operations.
- Course: CST211 - Data Structures
- Assignment: Assignment 10 - Balanced Trees
- Institution: Oregon Institute of Technology
- Binary search tree with O(log n) operations
- Self-balancing mechanism (AVL rotations)
- In-order, pre-order, post-order traversals
- Height balancing after modifications
- Recursive and iterative implementations
- Search: O(log n) with balancing
- Insert: O(log n) with rebalancing
- Delete: O(log n) with rebalancing
- Traversal: O(n) for all nodes
- Height calculation and tracking
- Single and double rotations
- Balance factor maintenance
- Automatic rebalancing on insert/delete
Insert(T)- Add element with balancingDelete(T)- Remove element with balancingSearch(T)- Find elementInOrder()/PreOrder()/PostOrder()- Tree traversalsHeight()- Get tree heightBalance()- Rebalance tree
- Binary search tree properties
- Tree balancing algorithms
- Rotation operations
- Recursion in tree structures
- Performance analysis of balanced vs unbalanced trees
- C++
- Visual Studio
- Tree data structures