100% faster 0ms runtime short C++ solution
\n\n\n    bool isMirror(TreeNode* root1,TreeNode *root2){\n        if(root1==NULL && root2==NULL)\n            return true;\n        if(root1 && root2 && root1-
```\n\n\n    bool isMirror(TreeNode* root1,TreeNode *root2){\n        if(root1==NULL && root2==NULL)\n            return true;\n        if(root1 && root2 && root1->val == root2->val)\n            return isMirror(root1->left,root2->right) && isMirror(root1->right,root2->left);\n        \n        return false;\n    }\n    bool isSymmetric(TreeNode* root) {\n        return isMirror(root,root);\n    }\n\n```
['Recursion', 'C']