C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg. Bjarne Stroustrup
Write a program to insert an item to the binary search tree and delete the item from binary search tree. If the node value is less than or equal to the parent node, insert the node to left the tree. If the node value is greater than or equal to the parent node, insert the node in the right subtree.
All Binary Tree Values: 1 2 3 4 5 All Binary Tree Values after remove: 1 2 4 5