Usage: Enter an integer key and click the Search button to search the key in the tree. Click the Insert button to insert the key into the tree. Click the Remove button to remove the key from the tree. Click the Clear button to clear the tree. For the best display, use integers between 0 and 999. You can also display the elements in inorder, preorder, and postorder.

The figure illustrates an interactive that displays a tree diagram.