Пример #1
0
 public BinarySearchTree(T value)
 {
     _root = new BSTNode <T>(value);
     Count = 1;
 }
Пример #2
0
 public void Swap(BSTNode <T> other)
 {
     (other.Value, Value) = (Value, other.Value);
 }
Пример #3
0
 public BinarySearchTree()
 {
     _root = null;
     Count = 0;
 }