Пример #1
0
 public BinaryNode(int v, BinaryNode left, BinaryNode right)
 {
     Value = v;
     Left  = left;
     Right = right;
 }
Пример #2
0
 public static int Height(BinaryNode root)
 {
     return(Depth(root) - 1);
 }