class Solution: def HasSubtree(self, pRoot1, pRoot2): # write code here # <剑指offer> result = False if ( pRoot1!=None and pRoot2!=None ): if ( self.Equal( pRoot1.val, pRoot2.val ) ): result = self.DoesTree1HasTree2( pRoot1, pRoot2 ) if not result: ...