constructor to initialize the tree object Function to insert the nodes into the tree function to create a node function to get maximum in a tree function to get minimum function to check whether the element is present in the tree function to remove an element from a tree function to check the tree is empty function isEmpty(node){ if(node==NULL) return true; else return false; } function to find leaf node are present to the given node functiom isLeaf(node){ if(node doesnot contain children) return true; else return false; funtion to copy into string and display Solution constructor to initialize the tree object Function to insert the nodes into the tree function to create a node function to get maximum in a tree function to get minimum function to check whether the element is present in the tree function to remove an element from a tree function to check the tree is empty function isEmpty(node){ if(node==NULL) return true; else return false; } function to find leaf node are present to the given node functiom isLeaf(node){ if(node doesnot contain children) return true; else return false; funtion to copy into string and display.