Create a Python class that implements the methods of a binary search tree algorithm.
Implement the following methods.
insert
inserting the value into the tree maintaining orderin_order
iterate through the tree calling visitor on in orderpre_order
iterate through the tree calling visitor on pre orderpost_order
iterate through the tree calling visitor on post order
Whiteboard Images