I have just spent hours and hours implementing binary trees and linked list queues and stacks. Now the last part I have to implement a user interface to
test these methods. The methods I have to test are inorder, poster, preorder traversals of a tree.
My problem is I have set up my tree with the insert method using an Object as the item. Now I have to insert the object as a
string into my tree. But I keep getting an error that the string can not be inserted as the tree is expect an object.
Can any one point me in the right direction?