Skip to content

Commit ba07f20

Browse files
authored
Update Solution.cpp
1 parent f8d0d5b commit ba07f20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

solution/0100-0199/0101.Symmetric Tree/Solution.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Solution {
22
public:
33
bool isSymmetric(TreeNode* root) {
4-
if (!root) return true;
5-
return isSymmetric(root->left, root->right);
4+
if (!root) return true;
5+
return isSymmetric(root->left, root->right);
66
}
77

88
private:

0 commit comments

Comments
 (0)