class Solution: def HasSubtree(self, s, t): def sametree(p,q): if p is None and q is None: return True elif p is not None and q is not None and p.val==q.val: return sametree(p.left,q.left) and sametree(p.right,q.right) e...