public void Remove(int value) { this.Root = Remove(this.Root, value); }
private int GetTreeDepth(BSTNode parent) { return(parent == null ? 0 : Math.Max(GetTreeDepth(parent.Left), GetTreeDepth(parent.Right)) + 1); }