if I cast node1 as <E> will it make a difference?
Type: Posts; User: bagalakadaka
if I cast node1 as <E> will it make a difference?
ok so this is what i have so far. does it make sense??
Node node1 = root;
boolean result = false;
if(root == someElement)
return true;
//go through left
if(node1.left != null){
I'm pretty sure it's contained in a node.
done! thanks
Hi, I'm trying to figure out how to do this contains method. everything that's in the method is my code. My thinking is: start at root and go in Inorder traversal and use .equals(). Should I even do...
Hi,
How do I look to see if people have replied to my posts (besides email)? How do I find the thread you put my post in?
thanks
Hello world! What is the purpose of a package? I understand that a project holds packages. If you want to write two different classes that are completely unrelated to each other, would you make a new...
Hi,
I'm a college student in Massachusetts. I would say I'm a novice in java programming.