Skip to content

Commit 1843c66

Browse files
authored
Update README.md
1 parent a262194 commit 1843c66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2234,7 +2234,7 @@ class Solution:
22342234
```
22352235
- 0 and 0 答案是 0,此处避免 matrix 为 [] 时导致报错
22362236
- 按照从右上角到左下角的顺序遍历 matrix 的所有对角线并放入列表 temp
2237-
- 如果 对角线元素个数 是偶数则应该把 temp 反转
2237+
- 如果 对角线索引 l 是偶数则应该把 temp 反转
22382238
- 把 temp 加入结果 r
22392239
## [507. Perfect Number](https://leetcode.com/problems/perfect-number/)
22402240
```python

0 commit comments

Comments
 (0)