public static void main(string[] args) { BT bt = new BT(); bt.TakeInput(); bt.Display(); // Console.WriteLine(bt.Ht()); //BT bt2 = new BT(); //bt2.TakeInput(); //Console.WriteLine(bt.FlipEquivalent(bt2)); //Console.WriteLine(bt.max()); //Console.WriteLine(bt.min()); // Console.WriteLine(bt.isBST()); bt.VerticalDisplay(); }
public bool FlipEquivalent(BT other) { return(FlipEquivalent(this.root, other.root)); }