Can't believe I didn't see that! Yea my tree only moves down. Thanks a million.
Type: Posts; User: scottb80
Can't believe I didn't see that! Yea my tree only moves down. Thanks a million.
/** Clear tree method
* @param a node
*/
private void clear(Node x) {
if(x.left != null) {
x = x.left;
clear(x);
}
if(x.right != null) {
x = x.right;