| 24 | class Solution { |
| 25 | public: |
| 26 | bool isSymmetric(TreeNode* root) { |
| 27 | if (root == NULL) return true; |
| 28 | else return isSymmetric(root->left, root->right); |
| 29 | } |
| 30 | |
| 31 | bool isSymmetric(TreeNode * left, TreeNode * right) { |
| 32 | if (left == NULL and right == NULL) return true; |
nothing calls this directly
no outgoing calls
no test coverage detected