Skip to content

Commit 5af6c59

Browse files
author
wangyu95
committed
style: code style
1 parent c97871b commit 5af6c59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1747,9 +1747,9 @@ def maxDepth(root):
17471747
def isSameTree(p, q):
17481748
if p == None and q == None:
17491749
return True
1750-
elif p and q :
1750+
elif p and q:
17511751
return p.val == q.val and isSameTree(p.left,q.left) and isSameTree(p.right,q.right)
1752-
else :
1752+
else:
17531753
return False
17541754
```
17551755

0 commit comments

Comments
 (0)