Skip to content

Commit 4e7c138

Browse files
committed
style: remove blank space
1 parent 329780e commit 4e7c138

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lcof/面试题29. 顺时针打印矩阵/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class Solution:
4545
return [matrix[s1][j] for j in range(e1, e2)] + \
4646
[matrix[i][e2] for i in range(s1, s2)] + \
4747
[matrix[s2][j] for j in range(e2, e1, -1)] + \
48-
[ matrix[i][e1] for i in range(s2, s1, -1)]
48+
[matrix[i][e1] for i in range(s2, s1, -1)]
4949

5050
```
5151

lcof/面试题29. 顺时针打印矩阵/Solution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ def _spiral_add(self, matrix, s1, e1, s2, e2) -> List[int]:
1818
return [matrix[s1][j] for j in range(e1, e2)] + \
1919
[matrix[i][e2] for i in range(s1, s2)] + \
2020
[matrix[s2][j] for j in range(e2, e1, -1)] + \
21-
[ matrix[i][e1] for i in range(s2, s1, -1)]
21+
[matrix[i][e1] for i in range(s2, s1, -1)]

0 commit comments

Comments
 (0)