Esempio n. 1
0
 public BinarySearchTree(T value)
 {
     _root = new BSTNode <T>(value);
     Count = 1;
 }
Esempio n. 2
0
 public void Swap(BSTNode <T> other)
 {
     (other.Value, Value) = (Value, other.Value);
 }
Esempio n. 3
0
 public BinarySearchTree()
 {
     _root = null;
     Count = 0;
 }