✅✅Easy-Understand ||✅✅ recursion || ✅✅C++
\npublic:\n    bool is_same(TreeNode *root1, TreeNode *root2){\n        if(!root1 && !root2) return true;\n        if((!root1 && root2) || (root1 && !root2)) re
```\npublic:\n    bool is_same(TreeNode *root1, TreeNode *root2){\n        if(!root1 && !root2) return true;\n        if((!root1 && root2) || (root1 && !root2)) return false;\n        \n        if(root1->val == root2->val) return is_same(root1->left , root2->right) && is_same(root1->right , root2->left);\n        else return false;\n    }\n    \n    bool isSymmetric(TreeNode* root) {\n        return is_same(root->left, root->right);\n    }\n};\n/* If you like it please upvote */\n```\nIf you like it please upvote
['Recursion', 'C']