Skip to content

Commit 28fa470

Browse files
authored
Merge pull request taizilongxu#91 from oillamp/master
style: code style
2 parents c164ee7 + 5af6c59 commit 28fa470

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
@@ -1790,9 +1790,9 @@ def maxDepth(root):
17901790
def isSameTree(p, q):
17911791
if p == None and q == None:
17921792
return True
1793-
elif p and q :
1793+
elif p and q:
17941794
return p.val == q.val and isSameTree(p.left,q.left) and isSameTree(p.right,q.right)
1795-
else :
1795+
else:
17961796
return False
17971797
```
17981798

0 commit comments

Comments
 (0)