diff --git "a/Chrome\345\210\267\351\242\230\346\217\222\344\273\266\344\275\277\347\224\250\346\214\207\345\215\227.md" "b/Chrome\345\210\267\351\242\230\346\217\222\344\273\266\344\275\277\347\224\250\346\214\207\345\215\227.md" new file mode 100644 index 0000000000000000000000000000000000000000..961270612b9b222e22b2e6daabf6d6315369980c --- /dev/null +++ "b/Chrome\345\210\267\351\242\230\346\217\222\344\273\266\344\275\277\347\224\250\346\214\207\345\215\227.md" @@ -0,0 +1 @@ +Chrome 插件持续更新中,安装和使用指南请移步 [这里](https://mp.weixin.qq.com/s/wIxflO1dvXzDlibhEcENcQ)。 \ No newline at end of file diff --git a/README.md b/README.md index 2a8a4d9f229737079fc9593323bd68350c14d46a..3a8eeeca0306d19fffc860866f8c064aed617a8f 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ English version repo and Gitbook is on [english branch](https://github.com/labul # labuladong 的算法小抄

-Website +Website GitHub

@@ -83,13 +83,13 @@ Gitee Pages 地址:https://labuladong.gitee.io/algo/ ### 第一章、手把手刷数据结构 - * [手把手刷链表题目](https://labuladong.gitee.io/algo/) + * [手把手刷链表题目](https://labuladong.github.io/algo/) * [一文搞懂单链表的六大解题套路](https://labuladong.github.io/article/?qno=21) * [递归反转链表的一部分](https://labuladong.github.io/article/?qno=206) * [如何 K 个一组反转链表](https://labuladong.github.io/article/?qno=25) * [如何判断回文链表](https://labuladong.github.io/article/?qno=234) - * [手把手刷二叉树](https://labuladong.gitee.io/algo/) + * [手把手刷二叉树](https://labuladong.github.io/algo/) * [手把手带你刷二叉树(纲领篇)](https://labuladong.github.io/article/?qno=104) * [手把手带你刷二叉树(第一期)](https://labuladong.github.io/article/?qno=226) * [手把手带你刷二叉树(第二期)](https://labuladong.github.io/article/?qno=654) @@ -104,7 +104,7 @@ Gitee Pages 地址:https://labuladong.gitee.io/algo/ * [如何计算完全二叉树的节点数](https://labuladong.github.io/article/?qno=222) * [二叉树八股文:递归改迭代](https://labuladong.github.io/article/wx.html?wx=jI8_-E6rx2HVBOmuQOTgHg) - * [手把手刷图算法](https://labuladong.gitee.io/algo/) + * [手把手刷图算法](https://labuladong.github.io/algo/) * [图论基础](https://labuladong.github.io/article/?qno=797) * [拓扑排序详解及运用](https://labuladong.github.io/article/?qno=207) * [二分图判定](https://labuladong.github.io/article/?qno=785) @@ -115,7 +115,7 @@ Gitee Pages 地址:https://labuladong.gitee.io/algo/ * [众里寻他千百度:名流问题](https://labuladong.github.io/article/?qno=277) * [我写了一个模板,把 Dijkstra 算法变成了默写题](https://labuladong.github.io/article/?qno=743) - * [手把手设计数据结构](https://labuladong.gitee.io/algo/) + * [手把手设计数据结构](https://labuladong.github.io/algo/) * [算法就像搭乐高:带你手撸 LRU 算法](https://labuladong.github.io/article/?qno=146) * [算法就像搭乐高:带你手撸 LFU 算法](https://labuladong.github.io/article/?qno=460) * [前缀树算法模板秒杀五道算法题](https://labuladong.github.io/article/?qno=208) @@ -127,7 +127,7 @@ Gitee Pages 地址:https://labuladong.gitee.io/algo/ * [二叉堆详解实现优先级队列](https://labuladong.github.io/article/wx.html?wx=o7tdyLiYm668dpUWd-x7Lg) * [队列实现栈以及栈实现队列](https://labuladong.github.io/article/?qno=232) - * [手把手刷数组题目](https://labuladong.gitee.io/algo/) + * [手把手刷数组题目](https://labuladong.github.io/algo/) * [小而美的算法技巧:前缀和数组](https://labuladong.github.io/article/?qno=303) * [小而美的算法技巧:差分数组](https://labuladong.github.io/article/?qno=370) * [二维数组的花式遍历技巧](https://labuladong.github.io/article/?qno=48) @@ -145,7 +145,7 @@ Gitee Pages 地址:https://labuladong.gitee.io/algo/ ### 第二章、手把手刷动态规划 - * [动态规划基本技巧](https://labuladong.gitee.io/algo/) + * [动态规划基本技巧](https://labuladong.github.io/algo/) * [动态规划解题核心框架](https://labuladong.github.io/article/?qno=509) * [动态规划设计:最长递增子序列](https://labuladong.github.io/article/?qno=300) * [最优子结构原理和 dp 数组遍历方向](https://labuladong.github.io/article/wx.html?wx=qvlfyKBiXVX7CCwWFR-XKg) @@ -153,7 +153,7 @@ Gitee Pages 地址:https://labuladong.gitee.io/algo/ * [对动态规划进行降维打击](https://labuladong.github.io/article/wx.html?wx=SnyN1Gn6DTLm0uJyp5l6CQ) * [动态规划和回溯算法到底谁是谁爹?](https://labuladong.github.io/article/?qno=494) - * [子序列类型问题](https://labuladong.gitee.io/algo/) + * [子序列类型问题](https://labuladong.github.io/algo/) * [经典动态规划:编辑距离](https://labuladong.github.io/article/?qno=72) * [动态规划设计:最长递增子序列](https://labuladong.github.io/article/?qno=300) * [二维递增子序列:信封嵌套问题](https://labuladong.github.io/article/?qno=354) @@ -161,12 +161,12 @@ Gitee Pages 地址:https://labuladong.gitee.io/algo/ * [经典动态规划:最长公共子序列](https://labuladong.github.io/article/?qno=1143) * [动态规划之子序列问题解题模板](https://labuladong.github.io/article/?qno=516) - * [背包类型问题](https://labuladong.gitee.io/algo/) + * [背包类型问题](https://labuladong.github.io/algo/) * [经典动态规划:0-1 背包问题](https://labuladong.github.io/article/wx.html?wx=RXfnhSpVBmVneQjDSUSAVQ) * [经典动态规划:子集背包问题](https://labuladong.github.io/article/?qno=416) * [经典动态规划:完全背包问题](https://labuladong.github.io/article/?qno=518) - * [用动态规划玩游戏](https://labuladong.gitee.io/algo/) + * [用动态规划玩游戏](https://labuladong.github.io/algo/) * [动态规划之最小路径和](https://labuladong.github.io/article/?qno=64) * [动态规划帮我通关了《魔塔》](https://labuladong.github.io/article/?qno=174) * [动态规划帮我通关了《辐射4》](https://labuladong.github.io/article/?qno=514) @@ -182,7 +182,7 @@ Gitee Pages 地址:https://labuladong.gitee.io/algo/ * [有限状态机之 KMP 字符匹配算法](https://labuladong.github.io/article/?qno=28) * [构造回文的最小插入次数](https://labuladong.github.io/article/?qno=1312) - * [贪心类型问题](https://labuladong.gitee.io/algo/) + * [贪心类型问题](https://labuladong.github.io/algo/) * [贪心算法之区间调度问题](https://labuladong.github.io/article/?qno=435) * [扫描线技巧:安排会议室](https://labuladong.github.io/article/?qno=253) * [剪视频剪出一个贪心算法](https://labuladong.github.io/article/?qno=1024) @@ -191,7 +191,7 @@ Gitee Pages 地址:https://labuladong.gitee.io/algo/ ### 第三章、必知必会算法技巧 - * [暴力搜索算法](https://labuladong.gitee.io/algo/) + * [暴力搜索算法](https://labuladong.github.io/algo/) * [回溯算法解题套路框架](https://labuladong.github.io/article/?qno=51) * [经典回溯算法:集合划分问题](https://labuladong.github.io/article/?qno=698) * [回溯算法团灭子集、排列、组合问题](https://labuladong.github.io/article/?qno=78) @@ -200,7 +200,7 @@ Gitee Pages 地址:https://labuladong.gitee.io/algo/ * [BFS 算法解题套路框架](https://labuladong.github.io/article/?qno=111) * [如何用 BFS 算法秒杀各种智力题](https://labuladong.github.io/article/?qno=773) - * [数学运算技巧](https://labuladong.gitee.io/algo/) + * [数学运算技巧](https://labuladong.github.io/algo/) * [常用的位操作](https://labuladong.github.io/article/?qno=191) * [讲两道常考的阶乘算法题](https://labuladong.github.io/article/?qno=172) * [如何高效寻找素数](https://labuladong.github.io/article/?qno=204) @@ -211,12 +211,12 @@ Gitee Pages 地址:https://labuladong.gitee.io/algo/ * [一行代码就能解决的算法题](https://labuladong.github.io/article/?qno=292) * [几个反直觉的概率问题](https://labuladong.github.io/article/wx.html?wx=eCgxtBpsrZjJQ9KmhKrEJw) - * [其他算法技巧](https://labuladong.gitee.io/algo/) + * [其他算法技巧](https://labuladong.github.io/algo/) * [快速排序亲兄弟:快速选择算法](https://labuladong.github.io/article/?qno=215) * [分治算法详解:运算优先级](https://labuladong.github.io/article/?qno=241) * [一个方法解决三道区间问题](https://labuladong.github.io/article/?qno=1288) - * [经典面试题](https://labuladong.gitee.io/algo/) + * [经典面试题](https://labuladong.github.io/algo/) * [谁能想到,斗地主也能玩出算法](https://labuladong.github.io/article/?qno=659) * [东哥吃葡萄时竟然吃出一道算法题!](https://labuladong.github.io/article/wx.html?wx=3VjL7Gud1bQQrbjedzEhMQ) * [烧饼排序算法](https://labuladong.github.io/article/?qno=969) diff --git a/pictures/labuladong.jpg b/pictures/labuladong.jpg deleted file mode 100644 index eecfb55ac909910e616b7c748cebfde1332dff64..0000000000000000000000000000000000000000 Binary files a/pictures/labuladong.jpg and /dev/null differ diff --git a/pictures/souyisou2.png b/pictures/souyisou2.png new file mode 100644 index 0000000000000000000000000000000000000000..744d478f16bad2921e97b38f6979a5653dfc1548 Binary files /dev/null and b/pictures/souyisou2.png differ diff --git a/pictures/vscode/1.jpg b/pictures/vscode/1.jpg new file mode 100644 index 0000000000000000000000000000000000000000..94fd12242783581902db433be0d24ea70f90f478 Binary files /dev/null and b/pictures/vscode/1.jpg differ diff --git a/pictures/vscode/2.jpg b/pictures/vscode/2.jpg new file mode 100644 index 0000000000000000000000000000000000000000..3c68f203892e8dbb14fe42e6d37d485fe13e320a Binary files /dev/null and b/pictures/vscode/2.jpg differ diff --git a/pictures/vscode/3.jpg b/pictures/vscode/3.jpg new file mode 100644 index 0000000000000000000000000000000000000000..15cde3d66160271a5fe5866bce983a5144de1008 Binary files /dev/null and b/pictures/vscode/3.jpg differ diff --git "a/vscode\345\210\267\351\242\230\346\217\222\344\273\266\344\275\277\347\224\250\346\214\207\345\215\227.md" "b/vscode\345\210\267\351\242\230\346\217\222\344\273\266\344\275\277\347\224\250\346\214\207\345\215\227.md" new file mode 100644 index 0000000000000000000000000000000000000000..024de9343aab1149e3c2285bff773fe75b69c2d8 --- /dev/null +++ "b/vscode\345\210\267\351\242\230\346\217\222\344\273\266\344\275\277\347\224\250\346\214\207\345\215\227.md" @@ -0,0 +1,21 @@ +为了进一步帮助我的读者刷题和学习算法,我发布了 [labuladong 的刷题三件套](https://mp.weixin.qq.com/s/X-fE9sR4BLi6T9pn7xP4pg),其中 Chrome 刷题插件广受大家的好评。所以现在我又写了一个 vscode 插件,把 [Chrome 插件的所有功能](https://mp.weixin.qq.com/s/wIxflO1dvXzDlibhEcENcQ) 都移植到了 vscode 上面。 + +本插件是我基于 LeetCode 官方的插件改写的: + +https://github.com/LeetCode-OpenSource/vscode-leetcode + +官方的插件对英文版 LeetCode 适配比较好,对中文力扣的支持一般,而且很久都不维护了,连登录都有问题。 + +**我把这些 bug 全部修复了,另外可以方便读者查看我的刷题笔记和详细题解**: + +![](./pictures/vscode/3.jpg) + +支持一边看解法思路一边写代码: + +![](./pictures/vscode/2.jpg) + +题目列表中带有 ✨ 标记的题目都是我在公众号讲解过的,可以查看题解或者思路: + +![](./pictures/vscode/1.jpg) + +我自己一直在坚持刷算法题并总结解题套路,所以未来插件中标 ✨ 的题目会越来越多,Chrome 插件和 vscode 插件都会同步更新。