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

            TraverseDepthsDFS(root, d);
        }