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

Commit e5c4e9e

Browse files
Update
1 parent 9d4c263 commit e5c4e9e

File tree

4 files changed

+464
-115
lines changed

4 files changed

+464
-115
lines changed

‎problems/0070.爬楼梯.md‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,6 @@ public:
215215
216216
所以不要轻视简单题,那种凭感觉就刷过去了,其实和没掌握区别不大,只有掌握方法论并说清一二三,才能触类旁通,举一反三哈!
217217
218-
就酱,循序渐进学算法,认准「代码随想录」!
219-
220218
221219
## 其他语言版本
222220

‎problems/0108.将有序数组转换为二叉搜索树.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
题目中说要转换为一棵高度平衡二叉搜索树。为什么强调要平衡呢?
4040

41-
因为只要给我们一个有序数组,如果强调平衡,都可以以线性结构来构造二叉搜索树。
41+
因为只要给我们一个有序数组,如果不强调平衡,都可以以线性结构来构造二叉搜索树。
4242

4343
例如 有序数组[-10,-3,0,5,9] 就可以构造成这样的二叉搜索树,如图。
4444

‎problems/0209.长度最小的子数组.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public:
100100
101101
窗口就是 满足其和 ≥ s 的长度最小的 连续 子数组。
102102
103-
窗口的起始位置如何移动:如果当前窗口的值大于s了,窗口就要向前移动了(也就是该缩小了)。
103+
窗口的起始位置如何移动:如果当前窗口的值大于等于s了,窗口就要向前移动了(也就是该缩小了)。
104104
105105
窗口的结束位置如何移动:窗口的结束位置就是遍历数组的指针,也就是for循环里的索引。
106106

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /