public BinaryTreeNode <T> FindFirstCommonAncestor <T>(BinaryTree <T> tree, BinaryTreeNode <T> node1, BinaryTreeNode <T> node2) { return(this.FindFirstCommonAncestor(tree.Root, node1, node2)); }
public bool IsBalanced <T>(BinaryTree <T> tree) { return(this.GetHeight(tree.Root) != int.MinValue); }