7 lines C code (thala for a reason)
\n\n# Code\nc []\nbool flipEquiv(struct TreeNode* root1, struct TreeNode* root2) {\n    if (root1 == NULL && root2 == NULL) return true;  \n    if (root1 == NUL
\n\n# Code\n```c []\nbool flipEquiv(struct TreeNode* root1, struct TreeNode* root2) {\n    if (root1 == NULL && root2 == NULL) return true;  \n    if (root1 == NULL || root2 == NULL) return false; \n    if (root1->val != root2->val) return false;       \n    bool N = flipEquiv(root1->left, root2->left) && flipEquiv(root1->right, root2->right);\n    bool F = flipEquiv(root1->left, root2->right) && flipEquiv(root1->right, root2->left);\n    return N || F;  \n}\n```
['C']