Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
爱吃血肠
leetcode
提交
f4d52278
L
leetcode
项目概览
爱吃血肠
/
leetcode
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
leetcode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
f4d52278
编写于
3月 28, 2019
作者:
L
luzhipeng
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
目录结构调整
上级
18eec7ce
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
9 addition
and
9 deletion
+9
-9
problems/26.remove-duplicates-from-sorted-array.md
problems/26.remove-duplicates-from-sorted-array.md
+1
-1
problems/86.partition-list.md
problems/86.partition-list.md
+1
-1
problems/92.reverse-linked-list-ii.md
problems/92.reverse-linked-list-ii.md
+1
-1
problems/94.binary-tree-inorder-traversal.md
problems/94.binary-tree-inorder-traversal.md
+1
-1
problems/addTwoNumbers.md
problems/addTwoNumbers.md
+1
-1
problems/longestSubstringWithoutRepeatingCharacters.md
problems/longestSubstringWithoutRepeatingCharacters.md
+1
-1
problems/removeNthNodeFromEndofList.md
problems/removeNthNodeFromEndofList.md
+1
-1
problems/swapNodesInPairs.md
problems/swapNodesInPairs.md
+1
-1
problems/validParentheses.md
problems/validParentheses.md
+1
-1
未找到文件。
problems/26.remove-duplicates-from-sorted-array.md
浏览文件 @
f4d52278
...
...
@@ -51,7 +51,7 @@ for (int i = 0; i < len; i++) {
-
当快指针走完整个数组后,慢指针当前的坐标加1就是数组中不同数字的个数
![
26.remove-duplicates-from-sorted-array
](
./assets/26.remove-duplicates-from-sorted-array.gif
)
![
26.remove-duplicates-from-sorted-array
](
.
.
/assets/26.remove-duplicates-from-sorted-array.gif
)
(图片来自: https://github.com/MisterBooo/LeetCodeAnimation)
...
...
problems/86.partition-list.md
浏览文件 @
f4d52278
...
...
@@ -19,7 +19,7 @@ Output: 1->2->2->4->3->5
遍历结束后,将dummyHead2插入到dummyHead1后面
![
86.partition-list
](
./assets/86.partition-list.gif
)
![
86.partition-list
](
.
.
/assets/86.partition-list.gif
)
(图片来自: https://github.com/MisterBooo/LeetCodeAnimation)
## 关键点解析
...
...
problems/92.reverse-linked-list-ii.md
浏览文件 @
f4d52278
...
...
@@ -27,7 +27,7 @@ Output: 1->4->3->2->5->NULL
这样我们就可以把倒置后的那一小段链表加入到原链表中
![
92.reverse-linked-list-ii
](
./assets/92.reverse-linked-list-ii.gif
)
![
92.reverse-linked-list-ii
](
.
.
/assets/92.reverse-linked-list-ii.gif
)
(图片来自: https://github.com/MisterBooo/LeetCodeAnimation)
## 关键点解析
...
...
problems/94.binary-tree-inorder-traversal.md
浏览文件 @
f4d52278
...
...
@@ -30,7 +30,7 @@ Follow up: Recursive solution is trivial, could you do it iteratively?
-
再将当前指针移到其右子节点上,若存在右子节点,则在下次循环时又可将其所有左子结点压入栈中, 重复上步骤
![
94.binary-tree-inorder-traversal
](
./assets/94.binary-tree-inorder-traversal.gif
)
![
94.binary-tree-inorder-traversal
](
.
.
/assets/94.binary-tree-inorder-traversal.gif
)
(图片来自: https://github.com/MisterBooo/LeetCodeAnimation)
## 关键点解析
...
...
problems/addTwoNumbers.md
浏览文件 @
f4d52278
...
...
@@ -18,7 +18,7 @@ Explanation: 342 + 465 = 807.
设立一个表示进位的变量carried,建立一个新链表,
把输入的两个链表从头往后同时处理,每两个相加,将结果加上carried后的值作为一个新节点到新链表后面。
![
2.addTwoNumbers
](
./assets/2.addTwoNumbers.gif
)
![
2.addTwoNumbers
](
.
.
/assets/2.addTwoNumbers.gif
)
(图片来自: https://github.com/MisterBooo/LeetCodeAnimation)
...
...
problems/longestSubstringWithoutRepeatingCharacters.md
浏览文件 @
f4d52278
...
...
@@ -23,7 +23,7 @@ Given "pwwkew", the answer is "wke", with the length of 3. Note that the answer
(4)维护一个结果res,每次用出现过的窗口大小来更新结果res,最后返回res获取结果。
![
3.longestSubstringWithoutRepeatingCharacters
](
./assets/3.longestSubstringWithoutRepeatingCharacters.gif
)
![
3.longestSubstringWithoutRepeatingCharacters
](
.
.
/assets/3.longestSubstringWithoutRepeatingCharacters.gif
)
(图片来自: https://github.com/MisterBooo/LeetCodeAnimation)
...
...
problems/removeNthNodeFromEndofList.md
浏览文件 @
f4d52278
...
...
@@ -35,7 +35,7 @@ Could you do this in one pass?
![
19.removeNthNodeFromEndOfList
](
./assets/19.removeNthNodeFromEndOfList.gif
)
![
19.removeNthNodeFromEndOfList
](
.
.
/assets/19.removeNthNodeFromEndOfList.gif
)
(图片来自: https://github.com/MisterBooo/LeetCodeAnimation)
...
...
problems/swapNodesInPairs.md
浏览文件 @
f4d52278
...
...
@@ -24,7 +24,7 @@ Given 1->2->3->4, you should return the list as 2->1->4->3.
7.
current 移动两格
8.
重复
![
24.swap-nodes-in-pairs
](
./assets/24.swap-nodes-in-pairs.gif
)
![
24.swap-nodes-in-pairs
](
.
.
/assets/24.swap-nodes-in-pairs.gif
)
(图片来自: https://github.com/MisterBooo/LeetCodeAnimation)
...
...
problems/validParentheses.md
浏览文件 @
f4d52278
...
...
@@ -48,7 +48,7 @@ Output: true
![
20.validParentheses
](
./assets/20.validParentheses.gif
)
![
20.validParentheses
](
.
.
/assets/20.validParentheses.gif
)
(图片来自: https://github.com/MisterBooo/LeetCodeAnimation)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录