摘要:
struct BinaryTreeNode{ int value; BinaryTreeNode *left,*right;};bool doestree1havetree2(BinaryTreeNode *root1,BinaryTreeNode *root2);bool hassubtree(BinaryTreeNode *root1,BinaryTreeNode *root2){ bool result=false; if(root1!=NULL&&root2!=NULL) { if(root1->value==root2->value) { result=d 阅读全文