public class Solution { public boolean HasSubtree(TreeNode root1,TreeNode root2) { if(root2==null||root1==null)return false; if(root1.val==root2.val){ if(isSubTree(root1,root2))return true; } return HasSubtree(root1.left,root2)||HasSubtree(root1.right,...