Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5af6c59

Browse files
author
wangyu95
committed
style: code style
1 parentc97871b commit5af6c59

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
defisSameTree(p,q):
17481748
if p==Noneand q==None:
17491749
returnTrue
1750-
elif pand q:
1750+
elif pand q:
17511751
return p.val== q.valand isSameTree(p.left,q.left)and isSameTree(p.right,q.right)
1752-
else:
1752+
else:
17531753
returnFalse
17541754
```
17551755

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp