public void AddLeft(BinaryNode <T> left)
 {
     Left        = left;
     Left.Parent = this;
 }
 public void AddRight(BinaryNode <T> right)
 {
     Right        = right;
     Right.Parent = this;
 }
示例#3
0
        public ListOfDepths(BinaryNode <int> root)
        {
            int d = 0;

            TraverseDepthsDFS(root, d);
        }