Example #1
0
        private int height       = 0; //variable that stores the current height of the node in the tree

        public BSTnode(T input)
        {
            data  = input;
            left  = null;
            right = null;
        }
Example #2
0
 public T Equals(BSTnode <T> node)
 {
     return(this.data = node.data);
 }