You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return (lefttree and righttree and lefttree->val==righttree->val and check(lefttree->left,righttree->right) and check(lefttree->right,righttree->left));