Thanx a lot
Bench
I'm now working on the remove() implementation for BinarySearchTrees, it's weird that I can't set anything unless if I'm using this.root directly instead of referenced it to n. I can see why, but if I update the value based on the this.root, it will remove the root right away

I'm looking on solution into remove() implementation
I tested this doesn't work:
PHP Code:
public void remove() {
BinaryNode n = this.root;
n = null;
}
However, this one works:
PHP Code:
public void remove() {
this.root = null;
}
sigh.. I need some idea to get the updated root