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DDf+fbe-x9E0Kila=Z8ymkSL%x-WLQkHSu*@&HTDTMhPu
x9LWEeQCtkR+0YF1OA=Dqu6S|hgCkPQ1fUC$;_2-FJ+}Ct3K#xk_=4kh{U7m}qqYD5
literal 0
HcmV?d00001
diff --git a/_sidebar.md b/_sidebar.md
index 4def75e..cb57f52 100644
--- a/_sidebar.md
+++ b/_sidebar.md
@@ -1,7 +1,14 @@
- 二分查找
- - [简介](/BinarySearch/01-introduction.md)
- - [模板一](/BinarySearch/02-template-1.md)
- - [模板二](/BinarySearch/03-template-2.md)
- - [模板三](/BinarySearch/04-template-3.md)
- - [例题](/BinarySearch/05-examples.md)
- - [练习](/BinarySearch/06-practices.md)
+ - [简介](./BinarySearch/01-introduction.md)
+ - [模板一](./BinarySearch/02-template-1.md)
+ - [模板二](./BinarySearch/03-template-2.md)
+ - [模板三](./BinarySearch/04-template-3.md)
+ - [例题](./BinarySearch/05-examples.md)
+ - [练习](./BinarySearch/06-practices.md)
+- 滑动窗口
+ - [简介](./SlidingWindow/01-introduction.md)
+ - [类型一](./SlidingWindow/02-type-1.md)
+ - [类型二](./SlidingWindow/03-type-2.md)
+ - [类型三](./SlidingWindow/04-type-3.md)
+ - [总结](./SlidingWindow/05-summary.md)
+ - [练习题](./SlidingWindow/06-practices.md)
From fe52e260363e9d7c72a02eac75fe7ac32d5cb88b Mon Sep 17 00:00:00 2001
From: starwingchen <44251923+starwingChen@users.noreply.github.com>
Date: Mon, 20 Apr 2020 09:43:33 +0800
Subject: [PATCH 2/4] Update 02-type-1.md
---
SlidingWindow/02-type-1.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/SlidingWindow/02-type-1.md b/SlidingWindow/02-type-1.md
index f980d35..33178e3 100644
--- a/SlidingWindow/02-type-1.md
+++ b/SlidingWindow/02-type-1.md
@@ -21,11 +21,11 @@
可以看出,因为子数组的长度可以由 n 到 1,所以本解法的时间复杂度为:O (n^3)
-#### 暴力解的问题
+### 暴力解的问题
我们可以很快发现,如果我们可以知道 `nums[i...j] `的值,那 `nums[i...j-1]` 的值是不是早已被计算过了呢?因此,**暴力解的最大问题,就是存在大量重复的运算**
-#### 使用滑动窗口,避免重复运算
+### 使用滑动窗口,避免重复运算
为了使每次计算都有意义,我们可以定义一个左指针 `lp` ,一个右指针 `rp` ,而 `nums[lp...rp]` 就是一个「窗口」。应用窗口的思路如下:
From 220d4a7bf2a86ea515f0b5c84b03a58100f70874 Mon Sep 17 00:00:00 2001
From: starwingchen <44251923+starwingChen@users.noreply.github.com>
Date: Mon, 20 Apr 2020 09:44:53 +0800
Subject: [PATCH 3/4] Update 04-type-3.md
---
SlidingWindow/04-type-3.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/SlidingWindow/04-type-3.md b/SlidingWindow/04-type-3.md
index d007635..4728024 100644
--- a/SlidingWindow/04-type-3.md
+++ b/SlidingWindow/04-type-3.md
@@ -13,7 +13,7 @@
假设给定的数组为 `height` ,则示例中的输出则可解释为 `49 = min(height[1], height[8]) * (8-1)`
-#### 思路
+### 思路
根据「木桶原理」,我们知道决定一个容器能盛多少水的因素有两个,一个是容器本身有多大,二是最短的那块木板有多长。而在这道题,数组中的元素值代表木板长度,两元素间的间距代表容器本身的大小,即窗口的大小。
@@ -39,4 +39,4 @@ class Solution:
rp -= 1
return res
-```
\ No newline at end of file
+```
From aba6aa323ab0b2629ad9b123b20ed0003430d04d Mon Sep 17 00:00:00 2001
From: starwingchen <44251923+starwingChen@users.noreply.github.com>
Date: Mon, 20 Apr 2020 09:45:06 +0800
Subject: [PATCH 4/4] Update 03-type-2.md
---
SlidingWindow/03-type-2.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/SlidingWindow/03-type-2.md b/SlidingWindow/03-type-2.md
index d5c323f..afe0d80 100644
--- a/SlidingWindow/03-type-2.md
+++ b/SlidingWindow/03-type-2.md
@@ -14,7 +14,7 @@
> 输入: nums = [1,2,3,1,2,3], k = 2
> 输出: false
-#### 思路
+### 思路
这道题乍一看好像和滑动窗口没关系,但我们可以发现这是一个数组问题,需要频繁地使用索引(指针),而且有成立条件。因此我们可以将题目转换一下,变为:
@@ -43,4 +43,4 @@ class Solution:
window.remove(nums[i-k]) # 移出最先加进来的元素
return False
-```
\ No newline at end of file
+```