| 1234567891011121314151617 |
- // Driver program to test above functions
- #include "AVLCommands.h"
- int main()
- {
- AVLCommands avl;
- avl.Insert(3);
- avl.Insert(50);
- avl.Insert(1);
- avl.Insert(15);
- avl.Insert(2);
- avl.Insert(5);
- avl.Insert(20);
- avl.Insert(50);
- avl.Delete(15);
- return 0;
- }
|