BST Testing

Job ID: 33848859

Budget: $10 – $30 USD

1. Implement insert() in tree.cpp and show the results of inserting 2, 1, 4, 5, 9, 3, 6, 7, 10, 12, 11 into an empty Binary search tree.
2. Start with the tree in problem 1 and implement delete_node() and do:
- delete 4, then
- delete 9.
3. Start with the tree in problem 2 and implement search() and do:
- Search 12
- Search 4
Related categories: C++ Programming