Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
LeetCodeAnimation
Commits
5dee53d9
Commit
5dee53d9
authored
Nov 14, 2019
by
程序员吴师兄
Browse files
更换图片地址
parent
18798af8
Changes
68
Hide whitespace changes
Inline
Side-by-side
notes/LeetCode第15号问题:三数之和.md
View file @
5dee53d9
...
...
@@ -55,4 +55,4 @@ public:

\ No newline at end of file

\ No newline at end of file
notes/LeetCode第167号问题:两数之和II-输入有序数组.md
View file @
5dee53d9
...
...
@@ -37,7 +37,7 @@
### 动画描述


### 代码实现
...
...
@@ -68,4 +68,4 @@ public:

\ No newline at end of file

\ No newline at end of file
notes/LeetCode第169号问题:求众数.md
View file @
5dee53d9
...
...
@@ -79,7 +79,7 @@ class Solution {
### 动画描述


### 代码实现
...
...
@@ -129,7 +129,7 @@ class Solution {
### 动画描述


### 代码实现
...
...
notes/LeetCode第172号问题:阶乘后的零.md
View file @
5dee53d9
...
...
@@ -68,7 +68,7 @@ public class Solution {


...
...
notes/LeetCode第187号问题:重复的DNA序列.md
View file @
5dee53d9
...
...
@@ -65,4 +65,4 @@ public:

\ No newline at end of file

\ No newline at end of file
notes/LeetCode第191号问题:位1的个数.md
View file @
5dee53d9
...
...
@@ -88,4 +88,4 @@ public:

\ No newline at end of file

\ No newline at end of file
notes/LeetCode第199号问题:二叉树的右视图.md
View file @
5dee53d9
...
...
@@ -36,7 +36,7 @@
### 动画描述


### 代码实现
...
...
@@ -67,4 +67,4 @@ public:

\ No newline at end of file

\ No newline at end of file
notes/LeetCode第19号问题:删除链表的倒数第N个节点.md
View file @
5dee53d9
...
...
@@ -40,7 +40,7 @@
### 动画描述


### 代码实现
...
...
@@ -75,4 +75,4 @@ public:
};
```

\ No newline at end of file

\ No newline at end of file
notes/LeetCode第1号问题:两数之和.md
View file @
5dee53d9
...
...
@@ -35,7 +35,7 @@
### 动画描述


### 代码实现
...
...
@@ -65,4 +65,4 @@ public:

\ No newline at end of file

\ No newline at end of file
notes/LeetCode第201号问题:数字范围按位与.md
View file @
5dee53d9
...
...
@@ -59,4 +59,4 @@ public:

\ No newline at end of file

\ No newline at end of file
notes/LeetCode第203号问题:移除链表元素.md
View file @
5dee53d9
...
...
@@ -25,7 +25,7 @@
### 动画描述


### 代码实现
...
...
@@ -86,4 +86,4 @@ public:

\ No newline at end of file

\ No newline at end of file
notes/LeetCode第206号问题:反转链表.md
View file @
5dee53d9
...
...
@@ -31,7 +31,7 @@
### 动画描述


### 代码实现
...
...
@@ -57,4 +57,4 @@ public:

\ No newline at end of file

\ No newline at end of file
notes/LeetCode第209号问题:长度最小的子数组.md
View file @
5dee53d9
...
...
@@ -37,25 +37,25 @@
### 动画描述


设置滑动窗口的长度为 0 ,位于数轴的最左端。
##### 1 .滑动窗口右端 R 开始移动,直到区间满足给定的条件,也就是和大于 7 ,此时停止于第三个元素 2,当前的最优长度为 4


##### 2. 滑动窗口左端 L 开始移动,缩小滑动窗口的大小,停止于第一个元素 3,此时区间和为 6,使得区间和不满足给定的条件(此时不大于 7)


#### 3. 滑动窗口右端 R 继续移动,停止于第四个元素 4,此时和位 10 ,但最优长度仍然为 4


...
...
@@ -95,4 +95,4 @@ class Solution {

\ No newline at end of file

\ No newline at end of file
notes/LeetCode第20号问题:有效的括号.md
View file @
5dee53d9
...
...
@@ -67,7 +67,7 @@
### 动画描述


### 代码实现
...
...
@@ -112,4 +112,4 @@ public:

\ No newline at end of file

\ No newline at end of file
notes/LeetCode第219号问题:存在重复元素II.md
View file @
5dee53d9
...
...
@@ -43,7 +43,7 @@
### 动画描述


### 代码实现
...
...
@@ -84,4 +84,4 @@ public:

\ No newline at end of file

\ No newline at end of file
notes/LeetCode第21号问题:合并两个有序链表.md
View file @
5dee53d9
...
...
@@ -104,4 +104,4 @@ ListNode* mergeTwoOrderedLists(ListNode* pHead1, ListNode* pHead2){

\ No newline at end of file

\ No newline at end of file
notes/LeetCode第231号问题:2的幂.md
View file @
5dee53d9
...
...
@@ -37,7 +37,7 @@
首先,先来分析一下 2 的次方数的二进制写法:


仔细观察,可以看出 2 的次方数都只有一个 1 ,剩下的都是 0 。根据这个特点,只需要每次判断最低位是否为 1 ,然后向右移位,最后统计 1 的个数即可判断是否是 2 的次方数。
...
...
@@ -63,7 +63,7 @@ public:
### 图片描述


### 代码实现
...
...
@@ -80,4 +80,4 @@ public:


notes/LeetCode第237号问题:删除链表中的节点.md
View file @
5dee53d9
...
...
@@ -12,7 +12,7 @@
现有一个链表 -- head = [4,5,1,9],它可以表示为:


...
...
@@ -49,7 +49,7 @@
### 动画描述


### 代码实现
...
...
@@ -76,4 +76,4 @@ public:

\ No newline at end of file

\ No newline at end of file
notes/LeetCode第239号问题:滑动窗口最大值.md
View file @
5dee53d9
...
...
@@ -53,7 +53,7 @@ Deque 继承自 Queue(队列),它的直接实现有 ArrayDeque、LinkedLis
### 动画描述


### 代码实现
...
...
@@ -89,4 +89,4 @@ class Solution {

\ No newline at end of file

\ No newline at end of file
notes/LeetCode第23号问题:合并K个排序链表.md
View file @
5dee53d9
...
...
@@ -24,11 +24,11 @@
**输入**


**输出**


### 题目解析
...
...
@@ -44,7 +44,7 @@
### 动画演示


### 代码实现
...
...
@@ -136,7 +136,7 @@ class Solution {
这里可以参考
**归并排序 **
的分治思想,将这 K 个链表先划分为两个 K/2 个链表,处理它们的合并,然后不停的往下划分,直到划分成只有一个或两个链表的任务,开始合并。


### 代码实现
...
...
@@ -186,4 +186,4 @@ class Solution {

\ No newline at end of file

\ No newline at end of file
Prev
1
2
3
4
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment