Skip to content

Commit 9bc1c11

Browse files
authored
Update 1260.shift-2d-grid.md
1 parent d4ecd07 commit 9bc1c11

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

Diff for: problems/1260.shift-2d-grid.md

+14-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ https://leetcode-cn.com/problems/shift-2d-grid/description/
4747

4848
## 前置知识
4949

50-
- 数组
50+
- [数组](https://github.com/azl397985856/leetcode/blob/master/thinkings/basic-data-structure.md)
51+
- 数学
5152

5253
## 暴力法
5354

@@ -139,10 +140,22 @@ class Solution:
139140

140141
```
141142

143+
**复杂度分析**
144+
- 时间复杂度:$O(N)$
145+
- 空间复杂度:$O(1)$
146+
142147
## 相关题目
143148

144149
- [189. 旋转数组](https://leetcode-cn.com/problems/rotate-array/)
145150

146151
## 参考
147152

148153
- [文科生都能看懂的循环移位算法](https://lucifer.ren/blog/2019/12/11/rotate-list/)
154+
155+
156+
更多题解可以访问我的LeetCode题解仓库:https://github.com/azl397985856/leetcode 。 目前已经35K star啦。
157+
158+
关注公众号力扣加加,努力用清晰直白的语言还原解题思路,并且有大量图解,手把手教你识别套路,高效刷题。
159+
160+
161+
![](https://tva1.sinaimg.cn/large/007S8ZIlly1gfcuzagjalj30p00dwabs.jpg)

0 commit comments

Comments
 (0)