滑动窗口是两个指针,向着一个方向,不会退,像一个窗口般的移动。
https://leetcode.cn/problems/minimum-size-subarray-sum/description/

这种时间复杂度太高,为O(n^2),解法太lou。有逼格的解法请看解法二


https://leetcode.cn/problems/longest-substring-without-repeating-characters/description/

时间复杂度为O(N^2),同样这个方法我们不讲解,没有任何学习价值,最佳解法请看解法二。

