Skip to content

Commit cea58aa

Browse files
author
lucifer
committed
fix: typo
1 parent bd04837 commit cea58aa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

problems/101.symmetric-tree.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,14 @@ r = len(nums) - 1
7474

7575
while l < r:
7676
if nums[l] != nums[r]: return False
77+
l += 1
78+
r -= 1
7779
return True
7880

7981
```
8082

83+
> 其实更像本题一点的话应该是从中间分别向两边扩展 😂
84+
8185
## 代码
8286

8387
```py

0 commit comments

Comments
 (0)