From ad6cbace09a45605d4ca0aecd08023b516d1b62f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= <349247397@qq.com> Date: Mon, 26 Jul 2021 22:10:53 +0800 Subject: [PATCH 01/46] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index b2c13cc..64d0d0a 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ - [26. 删除排序数组中的重复项](https://github.com/Geekhyt/javascript-leetcode/issues/4) - [66. 加一 ](https://github.com/Geekhyt/javascript-leetcode/issues/5) - [283. 移动零 ](https://github.com/Geekhyt/javascript-leetcode/issues/6) +- [剑指 Offer 03. 数组中重复的数字](https://github.com/Geekhyt/javascript-leetcode/issues/60) ## 链表 From 6b6281e50e5629b2bda2ea41280722ece64cc405 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= <349247397@qq.com> Date: Mon, 26 Jul 2021 22:11:51 +0800 Subject: [PATCH 02/46] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 64d0d0a..d087273 100644 --- a/README.md +++ b/README.md @@ -4,17 +4,18 @@ ## 进度 -已经完成 64 道。 +已经完成 65 道。 ## 数组 - [1. 两数之和](https://github.com/Geekhyt/javascript-leetcode/issues/1) +- [剑指 Offer 03. 数组中重复的数字](https://github.com/Geekhyt/javascript-leetcode/issues/60) - [11. 盛水最多的容器](https://github.com/Geekhyt/javascript-leetcode/issues/2) - [15. 三数之和](https://github.com/Geekhyt/javascript-leetcode/issues/3) - [26. 删除排序数组中的重复项](https://github.com/Geekhyt/javascript-leetcode/issues/4) - [66. 加一 ](https://github.com/Geekhyt/javascript-leetcode/issues/5) - [283. 移动零 ](https://github.com/Geekhyt/javascript-leetcode/issues/6) -- [剑指 Offer 03. 数组中重复的数字](https://github.com/Geekhyt/javascript-leetcode/issues/60) + ## 链表 From 534e096dfec389887a0947b21e705874e29c14c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= <349247397@qq.com> Date: Thu, 5 Aug 2021 21:03:14 +0800 Subject: [PATCH 03/46] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d087273..4daadd6 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ ## 进度 -已经完成 65 道。 +已经完成 66 道。 ## 数组 @@ -35,6 +35,7 @@ - [101. 对称二叉树](https://github.com/Geekhyt/javascript-leetcode/issues/17) - [102. 二叉树的层序遍历](https://github.com/Geekhyt/javascript-leetcode/issues/18) - [104. 二叉树的最大深度](https://github.com/Geekhyt/javascript-leetcode/issues/19) +- [160. 相交链表](https://github.com/Geekhyt/javascript-leetcode/issues/61) - [226. 翻转二叉树](https://github.com/Geekhyt/javascript-leetcode/issues/20) ## 栈 From 5253c3df825e6658073235cf63de222ef039fd2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= <349247397@qq.com> Date: Mon, 23 Aug 2021 20:47:55 +0800 Subject: [PATCH 04/46] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4daadd6..4b81185 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ - [141. 环形链表](https://github.com/Geekhyt/javascript-leetcode/issues/9) - [206. 反转链表](https://github.com/Geekhyt/javascript-leetcode/issues/10) - [876. 链表的中间结点](https://github.com/Geekhyt/javascript-leetcode/issues/11) +- [160. 相交链表](https://github.com/Geekhyt/javascript-leetcode/issues/61) ## 树 @@ -35,7 +36,6 @@ - [101. 对称二叉树](https://github.com/Geekhyt/javascript-leetcode/issues/17) - [102. 二叉树的层序遍历](https://github.com/Geekhyt/javascript-leetcode/issues/18) - [104. 二叉树的最大深度](https://github.com/Geekhyt/javascript-leetcode/issues/19) -- [160. 相交链表](https://github.com/Geekhyt/javascript-leetcode/issues/61) - [226. 翻转二叉树](https://github.com/Geekhyt/javascript-leetcode/issues/20) ## 栈 From df3f644835941b24f39c22114c92cb639d2cd731 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= <349247397@qq.com> Date: Mon, 23 Aug 2021 22:53:26 +0800 Subject: [PATCH 05/46] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 4b81185..7b0549b 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ - [206. 反转链表](https://github.com/Geekhyt/javascript-leetcode/issues/10) - [876. 链表的中间结点](https://github.com/Geekhyt/javascript-leetcode/issues/11) - [160. 相交链表](https://github.com/Geekhyt/javascript-leetcode/issues/61) +- [25. K 个一组翻转链表](https://github.com/Geekhyt/javascript-leetcode/issues/62) ## 树 From 873782f45b319588bf9cea24683551d0c5baf155 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= <349247397@qq.com> Date: Mon, 23 Aug 2021 22:54:03 +0800 Subject: [PATCH 06/46] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7b0549b..4e5f471 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ ## 进度 -已经完成 66 道。 +已经完成 67 道。 ## 数组 From d80c0dc8436141e053425f543661551581ea746d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= <349247397@qq.com> Date: Tue, 24 Aug 2021 13:05:25 +0800 Subject: [PATCH 07/46] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4e5f471..421e364 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ ## 进度 -已经完成 67 道。 +已经完成 68 道。 ## 数组 @@ -27,6 +27,7 @@ - [876. 链表的中间结点](https://github.com/Geekhyt/javascript-leetcode/issues/11) - [160. 相交链表](https://github.com/Geekhyt/javascript-leetcode/issues/61) - [25. K 个一组翻转链表](https://github.com/Geekhyt/javascript-leetcode/issues/62) +- [83. 删除排序链表中的重复元素](https://github.com/Geekhyt/javascript-leetcode/issues/63) ## 树 From 2d322fc3a7eb7f123411659b2c967d81d5ade283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= <349247397@qq.com> Date: Tue, 7 Sep 2021 22:00:57 +0800 Subject: [PATCH 08/46] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 421e364..d8e86c0 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,10 @@ - [快速排序](https://github.com/Geekhyt/javascript-leetcode/issues/43) - [堆排序](https://github.com/Geekhyt/javascript-leetcode/issues/44) +## DFS + +- [200. 岛屿数量](https://github.com/Geekhyt/javascript-leetcode/issues/64) + ## 动态规划 - [70. 爬楼梯](https://github.com/Geekhyt/javascript-leetcode/issues/38) - [一口气团灭 6 道股票算法](https://github.com/Geekhyt/javascript-leetcode/issues/45) From 8710cff374f7465f294caab0b80afc2cbedaafe4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= <349247397@qq.com> Date: Tue, 7 Sep 2021 22:01:09 +0800 Subject: [PATCH 09/46] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d8e86c0..9906551 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ ## 进度 -已经完成 68 道。 +已经完成 69 道。 ## 数组 From e45cd530ee5cf03fcfd715da5632292cbf197c97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= <349247397@qq.com> Date: Sun, 12 Sep 2021 12:21:49 +0800 Subject: [PATCH 10/46] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 9906551..99b0075 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ - [160. 相交链表](https://github.com/Geekhyt/javascript-leetcode/issues/61) - [25. K 个一组翻转链表](https://github.com/Geekhyt/javascript-leetcode/issues/62) - [83. 删除排序链表中的重复元素](https://github.com/Geekhyt/javascript-leetcode/issues/63) +- [剑指 Offer 06. 从尾到头打印链表](https://github.com/Geekhyt/javascript-leetcode/issues/65) ## 树 From 6f71e9db0abe250c0cc18e0667ec33d313a1433b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= <349247397@qq.com> Date: Sun, 12 Sep 2021 12:22:01 +0800 Subject: [PATCH 11/46] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 99b0075..443c192 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ ## 进度 -已经完成 69 道。 +已经完成 70 道。 ## 数组 From 376676cec2a8ed7cb1582e4c99d38db6db701171 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= <349247397@qq.com> Date: Sun, 12 Sep 2021 12:36:38 +0800 Subject: [PATCH 12/46] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 443c192..98bccc3 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ ## 进度 -已经完成 70 道。 +已经完成 71 道。 ## 数组 @@ -29,6 +29,7 @@ - [25. K 个一组翻转链表](https://github.com/Geekhyt/javascript-leetcode/issues/62) - [83. 删除排序链表中的重复元素](https://github.com/Geekhyt/javascript-leetcode/issues/63) - [剑指 Offer 06. 从尾到头打印链表](https://github.com/Geekhyt/javascript-leetcode/issues/65) +- [面试题 02.02. 返回倒数第 k 个节点](https://github.com/Geekhyt/javascript-leetcode/issues/66) ## 树 From d4a4ed87414faffa5003e1ba153a00052281cc3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= <349247397@qq.com> Date: Wed, 15 Sep 2021 00:38:16 +0800 Subject: [PATCH 13/46] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 98bccc3..c371852 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ ## 进度 -已经完成 71 道。 +已经完成 72 道。 ## 数组 @@ -15,6 +15,7 @@ - [26. 删除排序数组中的重复项](https://github.com/Geekhyt/javascript-leetcode/issues/4) - [66. 加一 ](https://github.com/Geekhyt/javascript-leetcode/issues/5) - [283. 移动零 ](https://github.com/Geekhyt/javascript-leetcode/issues/6) +- [27. 移除元素](https://github.com/Geekhyt/javascript-leetcode/issues/67) ## 链表 From 98eb1916db706d6d019bba9e49f8bfce8eebd22f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= <349247397@qq.com> Date: Wed, 15 Sep 2021 01:20:44 +0800 Subject: [PATCH 14/46] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c371852..01257d1 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ ## 进度 -已经完成 72 道。 +已经完成 73 道。 ## 数组 @@ -16,6 +16,7 @@ - [66. 加一 ](https://github.com/Geekhyt/javascript-leetcode/issues/5) - [283. 移动零 ](https://github.com/Geekhyt/javascript-leetcode/issues/6) - [27. 移除元素](https://github.com/Geekhyt/javascript-leetcode/issues/67) +- [169. 多数元素](https://github.com/Geekhyt/javascript-leetcode/issues/68) ## 链表 From f04f47491366040a79849827c579581b63edaaa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= <349247397@qq.com> Date: Wed, 15 Sep 2021 18:41:09 +0800 Subject: [PATCH 15/46] Update README.md --- README.md | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 01257d1..ebb22f0 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,25 @@ 2021 年计划,这个仓库写满 100 篇前端面试高频 LeetCode 题解(JavaScript)。 +题目序号为 LeetCode 对应题目的序号,题解内有链接跳转到对应题目。 + +如果你是初学者,可能你需要一份数据结构与算法的入门资料,我之前写过一些文章,如下: + +- [前端如何搞定数据结构与算法(先导篇)](https://juejin.im/post/5e9bb8c251882573820998ac) +- [JavaScript 算法时间、空间复杂度分析](https://juejin.im/post/5ea979085188256d6f267940) +- [你真的懂递归吗?](https://juejin.im/post/5ec225e26fb9a043761ce4d8) +- [分治、动态规划、回溯、贪心一锅炖](https://juejin.im/post/5ee4f5bfe51d457b3f4a1fc0#heading-22) +- [数组回炉重造+6道前端算法面试高频题解](https://juejin.cn/post/6937526265201033230/) +- [面试链表不再怕](https://juejin.im/post/5f09ede5f265da22eb2a6dcf) +- [“树”业有专攻](https://juejin.im/post/5ef32453f265da22ef7daad3#heading-14) +- [从酒桌游戏看二分查找算法](https://juejin.im/post/5f0499c76fb9a07e976bdbc2) +- [食堂店小二儿教你学会栈](https://juejin.im/post/6869785753958907912) +- [前端玩转位运算(N皇后+Vue3位运算应用)](https://juejin.cn/post/6904595258915422215/) +- [手撕前端面试之经典排序算法 (动图+视频)](https://juejin.cn/post/6932482325159067656) + ## 进度 -已经完成 73 道。 +已经完成 74 道。 ## 数组 @@ -13,10 +29,11 @@ - [11. 盛水最多的容器](https://github.com/Geekhyt/javascript-leetcode/issues/2) - [15. 三数之和](https://github.com/Geekhyt/javascript-leetcode/issues/3) - [26. 删除排序数组中的重复项](https://github.com/Geekhyt/javascript-leetcode/issues/4) -- [66. 加一 ](https://github.com/Geekhyt/javascript-leetcode/issues/5) -- [283. 移动零 ](https://github.com/Geekhyt/javascript-leetcode/issues/6) - [27. 移除元素](https://github.com/Geekhyt/javascript-leetcode/issues/67) +- [66. 加一 ](https://github.com/Geekhyt/javascript-leetcode/issues/5) - [169. 多数元素](https://github.com/Geekhyt/javascript-leetcode/issues/68) +- [283. 移动零 ](https://github.com/Geekhyt/javascript-leetcode/issues/6) +- [349. 两个数组的交集](https://github.com/Geekhyt/javascript-leetcode/issues/69) ## 链表 From 7383fbeca996f6b6e97140ed9adddff51f279980 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= <349247397@qq.com> Date: Wed, 15 Sep 2021 18:44:50 +0800 Subject: [PATCH 16/46] Update README.md --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index ebb22f0..af94d23 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,12 @@ ## 前端食堂的 LeetCode 题解仓库 +[![](https://img.shields.io/badge/WeChat-微信群-brightgreen)](#交流) +[![](https://img.shields.io/badge/公众号-前端食堂-blueviolet)](#交流) +[![](https://img.shields.io/badge/Juejin-掘金-blue)](https://juejin.im/user/5a2de8a8f265da4320032fc4) +[![](https://img.shields.io/badge/Weibo-微博-orange)](https://weibo.com/u/2771284557) +[![](https://img.shields.io/badge/Zhihu-知乎-blue)](https://www.zhihu.com/people/huo-yi-tong-98) +[![](https://img.shields.io/badge/bilili-哔哩哔哩-ff69b4)](https://space.bilibili.com/161753278) + 2021 年计划,这个仓库写满 100 篇前端面试高频 LeetCode 题解(JavaScript)。 题目序号为 LeetCode 对应题目的序号,题解内有链接跳转到对应题目。 @@ -18,6 +25,8 @@ - [前端玩转位运算(N皇后+Vue3位运算应用)](https://juejin.cn/post/6904595258915422215/) - [手撕前端面试之经典排序算法 (动图+视频)](https://juejin.cn/post/6932482325159067656) +感谢 Star🌟 + ## 进度 已经完成 74 道。 @@ -123,3 +132,10 @@ - [139. 单词拆分](https://github.com/Geekhyt/javascript-leetcode/issues/57) - [887. 鸡蛋掉落](https://github.com/Geekhyt/javascript-leetcode/issues/58) - [279. 完全平方数](https://github.com/Geekhyt/javascript-leetcode/issues/59) + + +## 交流 + +加我微信: hungryturbo 备注「加群」即可。 + +![](https://github.com/Geekhyt/front-end-canteen/blob/master/images/new-qrcode.jpg) From d143063ccedce4e84e935a68bcbef9f57f19cec6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= <349247397@qq.com> Date: Wed, 15 Sep 2021 23:23:02 +0800 Subject: [PATCH 17/46] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index af94d23..77c6545 100644 --- a/README.md +++ b/README.md @@ -109,6 +109,10 @@ - [200. 岛屿数量](https://github.com/Geekhyt/javascript-leetcode/issues/64) +## 二分查找 + +- [33. 搜索旋转排序数组](https://github.com/Geekhyt/javascript-leetcode/issues/70) + ## 动态规划 - [70. 爬楼梯](https://github.com/Geekhyt/javascript-leetcode/issues/38) - [一口气团灭 6 道股票算法](https://github.com/Geekhyt/javascript-leetcode/issues/45) From fb9cec7606c771debadee11230cdb7ea8253a287 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= <349247397@qq.com> Date: Wed, 15 Sep 2021 23:23:12 +0800 Subject: [PATCH 18/46] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 77c6545..8f1afac 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ ## 进度 -已经完成 74 道。 +已经完成 75 道。 ## 数组 From 2ecbb501c32be70ab09a2894c387145da061a557 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= <349247397@qq.com> Date: Wed, 15 Sep 2021 23:58:31 +0800 Subject: [PATCH 19/46] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8f1afac..c3bc54f 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ ## 进度 -已经完成 75 道。 +已经完成 76 道。 ## 数组 @@ -112,6 +112,7 @@ ## 二分查找 - [33. 搜索旋转排序数组](https://github.com/Geekhyt/javascript-leetcode/issues/70) +- [35. 搜索插入位置](https://github.com/Geekhyt/javascript-leetcode/issues/71) ## 动态规划 - [70. 爬楼梯](https://github.com/Geekhyt/javascript-leetcode/issues/38) From a92621d6846bef724afa6b59bd7b37b2c118b5c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= Date: Sun, 19 Sep 2021 00:24:42 +0800 Subject: [PATCH 20/46] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c3bc54f..e5093b3 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ ## 进度 -已经完成 76 道。 +已经完成 77 道。 ## 数组 @@ -40,6 +40,7 @@ - [26. 删除排序数组中的重复项](https://github.com/Geekhyt/javascript-leetcode/issues/4) - [27. 移除元素](https://github.com/Geekhyt/javascript-leetcode/issues/67) - [66. 加一 ](https://github.com/Geekhyt/javascript-leetcode/issues/5) +- [88. 合并两个有序数组](https://github.com/Geekhyt/javascript-leetcode/issues/72) - [169. 多数元素](https://github.com/Geekhyt/javascript-leetcode/issues/68) - [283. 移动零 ](https://github.com/Geekhyt/javascript-leetcode/issues/6) - [349. 两个数组的交集](https://github.com/Geekhyt/javascript-leetcode/issues/69) From d2a536bd0f3b5ccf42bb6bf07719858c1a99fbcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= Date: Sun, 19 Sep 2021 00:58:32 +0800 Subject: [PATCH 21/46] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e5093b3..332cc03 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ ## 进度 -已经完成 77 道。 +已经完成 78 道。 ## 数组 @@ -76,6 +76,7 @@ - [20. 有效的括号](https://github.com/Geekhyt/javascript-leetcode/issues/21) - [84. 柱状图中最大的矩形](https://github.com/Geekhyt/javascript-leetcode/issues/22) - [155. 最小栈](https://github.com/Geekhyt/javascript-leetcode/issues/23) +- [739. 每日温度](https://github.com/Geekhyt/javascript-leetcode/issues/74) ## 贪心 From 6fa39eaec1c3ef1aaaa11b86798cc379bd19ec48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= Date: Sun, 19 Sep 2021 10:46:29 +0800 Subject: [PATCH 22/46] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 332cc03..06bbd57 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ ## 进度 -已经完成 78 道。 +已经完成 79 道。 ## 数组 @@ -98,6 +98,7 @@ - [125. 验证回文串](https://github.com/Geekhyt/javascript-leetcode/issues/35) - [344. 反转字符串](https://github.com/Geekhyt/javascript-leetcode/issues/36) - [415. 字符串相加](https://github.com/Geekhyt/javascript-leetcode/issues/37) +- [58. 最后一个单词的长度](https://github.com/Geekhyt/javascript-leetcode/issues/74) ## 排序 - [冒泡排序](https://github.com/Geekhyt/javascript-leetcode/issues/39) From bb50c6718d9b15275ecf6ea0c377ac71c59cb6cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= Date: Sun, 19 Sep 2021 13:00:14 +0800 Subject: [PATCH 23/46] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 06bbd57..1e71d6f 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,7 @@ - [102. 二叉树的层序遍历](https://github.com/Geekhyt/javascript-leetcode/issues/18) - [104. 二叉树的最大深度](https://github.com/Geekhyt/javascript-leetcode/issues/19) - [226. 翻转二叉树](https://github.com/Geekhyt/javascript-leetcode/issues/20) +- [98. 验证二叉搜索树](https://github.com/Geekhyt/javascript-leetcode/issues/75) ## 栈 From 55fe160cf9d5eb4382b2e47fa7248db33959377e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= Date: Sun, 19 Sep 2021 13:00:32 +0800 Subject: [PATCH 24/46] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1e71d6f..a1d1646 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ ## 进度 -已经完成 79 道。 +已经完成 80 道。 ## 数组 From 47847d3c8dd881aff832fd458db58d6f355a8881 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= Date: Sun, 19 Sep 2021 13:19:10 +0800 Subject: [PATCH 25/46] Update README.md --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a1d1646..dbbaba9 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ ## 进度 -已经完成 80 道。 +已经完成 81 道。 ## 数组 @@ -63,14 +63,16 @@ ## 树 - [94. 二叉树的中序遍历](https://github.com/Geekhyt/javascript-leetcode/issues/13) -- [144. 二叉树的前序遍历](https://github.com/Geekhyt/javascript-leetcode/issues/14) -- [145. 二叉树的后序遍历](https://github.com/Geekhyt/javascript-leetcode/issues/15) +- [98. 验证二叉搜索树](https://github.com/Geekhyt/javascript-leetcode/issues/75) - [100. 相同的树](https://github.com/Geekhyt/javascript-leetcode/issues/16) - [101. 对称二叉树](https://github.com/Geekhyt/javascript-leetcode/issues/17) - [102. 二叉树的层序遍历](https://github.com/Geekhyt/javascript-leetcode/issues/18) - [104. 二叉树的最大深度](https://github.com/Geekhyt/javascript-leetcode/issues/19) +- [110. 平衡二叉树](https://github.com/Geekhyt/javascript-leetcode/issues/76) +- [144. 二叉树的前序遍历](https://github.com/Geekhyt/javascript-leetcode/issues/14) +- [145. 二叉树的后序遍历](https://github.com/Geekhyt/javascript-leetcode/issues/15) - [226. 翻转二叉树](https://github.com/Geekhyt/javascript-leetcode/issues/20) -- [98. 验证二叉搜索树](https://github.com/Geekhyt/javascript-leetcode/issues/75) + ## 栈 From 4c10c58e53a3af8f4c504b04fc624a0b54dc1296 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= Date: Sun, 19 Sep 2021 14:44:52 +0800 Subject: [PATCH 26/46] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dbbaba9..4296fb0 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ ## 进度 -已经完成 81 道。 +已经完成 82 道。 ## 数组 @@ -69,6 +69,7 @@ - [102. 二叉树的层序遍历](https://github.com/Geekhyt/javascript-leetcode/issues/18) - [104. 二叉树的最大深度](https://github.com/Geekhyt/javascript-leetcode/issues/19) - [110. 平衡二叉树](https://github.com/Geekhyt/javascript-leetcode/issues/76) +- [112. 路径总和](https://github.com/Geekhyt/javascript-leetcode/issues/77) - [144. 二叉树的前序遍历](https://github.com/Geekhyt/javascript-leetcode/issues/14) - [145. 二叉树的后序遍历](https://github.com/Geekhyt/javascript-leetcode/issues/15) - [226. 翻转二叉树](https://github.com/Geekhyt/javascript-leetcode/issues/20) From 38450bf0901cd801604014ace3bf5ccf804c638d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= Date: Sun, 19 Sep 2021 15:21:38 +0800 Subject: [PATCH 27/46] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4296fb0..3b60a50 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ ## 进度 -已经完成 82 道。 +已经完成 83 道。 ## 数组 @@ -73,6 +73,7 @@ - [144. 二叉树的前序遍历](https://github.com/Geekhyt/javascript-leetcode/issues/14) - [145. 二叉树的后序遍历](https://github.com/Geekhyt/javascript-leetcode/issues/15) - [226. 翻转二叉树](https://github.com/Geekhyt/javascript-leetcode/issues/20) +- [543. 二叉树的直径](https://github.com/Geekhyt/javascript-leetcode/issues/78) ## 栈 From 09184cd233c2d8ffe9f70a7f5c57c6bfecf1f4a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= Date: Sun, 19 Sep 2021 22:39:46 +0800 Subject: [PATCH 28/46] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3b60a50..9d3a878 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ ## 进度 -已经完成 83 道。 +已经完成 84 道。 ## 数组 @@ -69,6 +69,7 @@ - [102. 二叉树的层序遍历](https://github.com/Geekhyt/javascript-leetcode/issues/18) - [104. 二叉树的最大深度](https://github.com/Geekhyt/javascript-leetcode/issues/19) - [110. 平衡二叉树](https://github.com/Geekhyt/javascript-leetcode/issues/76) +- [108. 将有序数组转换为二叉搜索树](https://github.com/Geekhyt/javascript-leetcode/issues/79) - [112. 路径总和](https://github.com/Geekhyt/javascript-leetcode/issues/77) - [144. 二叉树的前序遍历](https://github.com/Geekhyt/javascript-leetcode/issues/14) - [145. 二叉树的后序遍历](https://github.com/Geekhyt/javascript-leetcode/issues/15) From 9ad732b9ce0e5d570b3a6a43d5829f6ee8c1da20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= Date: Sun, 19 Sep 2021 23:07:42 +0800 Subject: [PATCH 29/46] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9d3a878..99018a4 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ ## 进度 -已经完成 84 道。 +已经完成 85 道。 ## 数组 @@ -83,6 +83,7 @@ - [84. 柱状图中最大的矩形](https://github.com/Geekhyt/javascript-leetcode/issues/22) - [155. 最小栈](https://github.com/Geekhyt/javascript-leetcode/issues/23) - [739. 每日温度](https://github.com/Geekhyt/javascript-leetcode/issues/74) +- [1047. 删除字符串中的所有相邻重复项](https://github.com/Geekhyt/javascript-leetcode/issues/80) ## 贪心 From 7d1b6bafa300973ce661c6c61e3a374d5dc08d53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= Date: Mon, 20 Sep 2021 00:30:30 +0800 Subject: [PATCH 30/46] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 99018a4..bd3cf1a 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ ## 进度 -已经完成 85 道。 +已经完成 86 道。 ## 数组 @@ -106,6 +106,7 @@ - [344. 反转字符串](https://github.com/Geekhyt/javascript-leetcode/issues/36) - [415. 字符串相加](https://github.com/Geekhyt/javascript-leetcode/issues/37) - [58. 最后一个单词的长度](https://github.com/Geekhyt/javascript-leetcode/issues/74) +- [409. 最长回文串](https://github.com/Geekhyt/javascript-leetcode/issues/81) ## 排序 - [冒泡排序](https://github.com/Geekhyt/javascript-leetcode/issues/39) From 78b8ced9c0c02c1c0bdc3eb4c2615074aea93238 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= Date: Mon, 20 Sep 2021 16:29:30 +0800 Subject: [PATCH 31/46] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bd3cf1a..d88b726 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ ## 进度 -已经完成 86 道。 +已经完成 87 道。 ## 数组 @@ -115,6 +115,7 @@ - [归并排序](https://github.com/Geekhyt/javascript-leetcode/issues/42) - [快速排序](https://github.com/Geekhyt/javascript-leetcode/issues/43) - [堆排序](https://github.com/Geekhyt/javascript-leetcode/issues/44) +- [剑指 Offer 40. 最小的k个数](https://github.com/Geekhyt/javascript-leetcode/issues/83) ## DFS From 47cc063c48c4c026e6199109a6d797d09ad33652 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= Date: Mon, 20 Sep 2021 16:49:15 +0800 Subject: [PATCH 32/46] Update README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d88b726..11edaa4 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ ## 进度 -已经完成 87 道。 +已经完成 88 道。 ## 数组 @@ -121,6 +121,10 @@ - [200. 岛屿数量](https://github.com/Geekhyt/javascript-leetcode/issues/64) +## 位运算 + +- [136. 只出现一次的数字](https://github.com/Geekhyt/javascript-leetcode/issues/83) + ## 二分查找 - [33. 搜索旋转排序数组](https://github.com/Geekhyt/javascript-leetcode/issues/70) From 80312b226e47e797d0dd88025cb3100347650e4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= Date: Mon, 20 Sep 2021 16:59:21 +0800 Subject: [PATCH 33/46] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 11edaa4..51bc49a 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ ## 进度 -已经完成 88 道。 +已经完成 89 道。 ## 数组 @@ -124,6 +124,7 @@ ## 位运算 - [136. 只出现一次的数字](https://github.com/Geekhyt/javascript-leetcode/issues/83) +- [52. N皇后 II](https://github.com/Geekhyt/javascript-leetcode/issues/84) ## 二分查找 From a06696ff573e6051c3d30009be49d7d861c6b25f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= Date: Mon, 20 Sep 2021 17:27:26 +0800 Subject: [PATCH 34/46] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 51bc49a..a06456d 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ ## 进度 -已经完成 89 道。 +已经完成 90 道。 ## 数组 @@ -127,7 +127,7 @@ - [52. N皇后 II](https://github.com/Geekhyt/javascript-leetcode/issues/84) ## 二分查找 - +- [704. 二分查找](https://github.com/Geekhyt/javascript-leetcode/issues/85) - [33. 搜索旋转排序数组](https://github.com/Geekhyt/javascript-leetcode/issues/70) - [35. 搜索插入位置](https://github.com/Geekhyt/javascript-leetcode/issues/71) From 86b235d6a4f6b1dfccecdaefc86b2efa23e3242d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= Date: Mon, 20 Sep 2021 18:07:14 +0800 Subject: [PATCH 35/46] Update README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a06456d..499e14e 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ ## 进度 -已经完成 90 道。 +已经完成 91 道。 ## 数组 @@ -121,6 +121,10 @@ - [200. 岛屿数量](https://github.com/Geekhyt/javascript-leetcode/issues/64) +## LRU + +- [146. LRU 缓存机制](https://github.com/Geekhyt/javascript-leetcode/issues/86) + ## 位运算 - [136. 只出现一次的数字](https://github.com/Geekhyt/javascript-leetcode/issues/83) From 43434e70b52b237b78c406280d01a82035e193ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= Date: Mon, 20 Sep 2021 18:37:35 +0800 Subject: [PATCH 36/46] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 499e14e..73cefd6 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ ## 进度 -已经完成 91 道。 +已经完成 92 道。 ## 数组 @@ -75,6 +75,7 @@ - [145. 二叉树的后序遍历](https://github.com/Geekhyt/javascript-leetcode/issues/15) - [226. 翻转二叉树](https://github.com/Geekhyt/javascript-leetcode/issues/20) - [543. 二叉树的直径](https://github.com/Geekhyt/javascript-leetcode/issues/78) +- [617. 合并二叉树](https://github.com/Geekhyt/javascript-leetcode/issues/87) ## 栈 From 0a19a89c62ac2bab732d3062c74bc2f9d84ba24c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= Date: Mon, 20 Sep 2021 19:20:08 +0800 Subject: [PATCH 37/46] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 73cefd6..02dbcb6 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ ## 进度 -已经完成 92 道。 +已经完成 93 道。 ## 数组 @@ -44,6 +44,7 @@ - [169. 多数元素](https://github.com/Geekhyt/javascript-leetcode/issues/68) - [283. 移动零 ](https://github.com/Geekhyt/javascript-leetcode/issues/6) - [349. 两个数组的交集](https://github.com/Geekhyt/javascript-leetcode/issues/69) +- [217. 存在重复元素](https://github.com/Geekhyt/javascript-leetcode/issues/88) ## 链表 From 8ecae0ea8f382b1aadb317b924b6e83cfc545242 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= Date: Mon, 20 Sep 2021 21:26:50 +0800 Subject: [PATCH 38/46] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 02dbcb6..948d3ac 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ ## 进度 -已经完成 93 道。 +已经完成 94 道。 ## 数组 @@ -77,6 +77,7 @@ - [226. 翻转二叉树](https://github.com/Geekhyt/javascript-leetcode/issues/20) - [543. 二叉树的直径](https://github.com/Geekhyt/javascript-leetcode/issues/78) - [617. 合并二叉树](https://github.com/Geekhyt/javascript-leetcode/issues/87) +- [429. N 叉树的层序遍历](https://github.com/Geekhyt/javascript-leetcode/issues/89) ## 栈 From 4d0dd438c5402dd3f04c0583d4048f2fb92e48f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= Date: Mon, 20 Sep 2021 21:51:29 +0800 Subject: [PATCH 39/46] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 948d3ac..75a5280 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ ## 进度 -已经完成 94 道。 +已经完成 95 道。 ## 数组 @@ -78,6 +78,7 @@ - [543. 二叉树的直径](https://github.com/Geekhyt/javascript-leetcode/issues/78) - [617. 合并二叉树](https://github.com/Geekhyt/javascript-leetcode/issues/87) - [429. N 叉树的层序遍历](https://github.com/Geekhyt/javascript-leetcode/issues/89) +- [590. N 叉树的后序遍历](https://github.com/Geekhyt/javascript-leetcode/issues/90) ## 栈 From 5fe4b9f2a8498dff420cd39502564aaa5a2e5596 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= Date: Mon, 20 Sep 2021 21:56:32 +0800 Subject: [PATCH 40/46] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 75a5280..8e2d634 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ ## 进度 -已经完成 95 道。 +已经完成 96 道。 ## 数组 @@ -79,6 +79,7 @@ - [617. 合并二叉树](https://github.com/Geekhyt/javascript-leetcode/issues/87) - [429. N 叉树的层序遍历](https://github.com/Geekhyt/javascript-leetcode/issues/89) - [590. N 叉树的后序遍历](https://github.com/Geekhyt/javascript-leetcode/issues/90) +- [589. N 叉树的前序遍历](https://github.com/Geekhyt/javascript-leetcode/issues/91) ## 栈 From 558b0a95acd69d269dd780be5686bf90c5129f79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= Date: Mon, 20 Sep 2021 22:10:12 +0800 Subject: [PATCH 41/46] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8e2d634..b092899 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ ## 进度 -已经完成 96 道。 +已经完成 97 道。 ## 数组 @@ -80,6 +80,7 @@ - [429. N 叉树的层序遍历](https://github.com/Geekhyt/javascript-leetcode/issues/89) - [590. N 叉树的后序遍历](https://github.com/Geekhyt/javascript-leetcode/issues/90) - [589. N 叉树的前序遍历](https://github.com/Geekhyt/javascript-leetcode/issues/91) +- [111. 二叉树的最小深度](https://github.com/Geekhyt/javascript-leetcode/issues/92) ## 栈 From 76f3ba253f4b92f1d370654a1b22a669407f412d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= Date: Mon, 20 Sep 2021 22:26:48 +0800 Subject: [PATCH 42/46] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b092899..f7145ec 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ ## 进度 -已经完成 97 道。 +已经完成 98 道。 ## 数组 @@ -81,6 +81,7 @@ - [590. N 叉树的后序遍历](https://github.com/Geekhyt/javascript-leetcode/issues/90) - [589. N 叉树的前序遍历](https://github.com/Geekhyt/javascript-leetcode/issues/91) - [111. 二叉树的最小深度](https://github.com/Geekhyt/javascript-leetcode/issues/92) +- [236. 二叉树的最近公共祖先](https://github.com/Geekhyt/javascript-leetcode/issues/93) ## 栈 From 2c3693da2d80af7d4de5619850f6a47623db3d59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= Date: Mon, 20 Sep 2021 22:35:41 +0800 Subject: [PATCH 43/46] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f7145ec..30399c8 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ ## 进度 -已经完成 98 道。 +已经完成 99 道。 ## 数组 @@ -82,6 +82,7 @@ - [589. N 叉树的前序遍历](https://github.com/Geekhyt/javascript-leetcode/issues/91) - [111. 二叉树的最小深度](https://github.com/Geekhyt/javascript-leetcode/issues/92) - [236. 二叉树的最近公共祖先](https://github.com/Geekhyt/javascript-leetcode/issues/93) +- [297. 二叉树的序列化与反序列化](https://github.com/Geekhyt/javascript-leetcode/issues/94) ## 栈 From 237f848ee0db2ab147345643e5b404d9007a1a95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= Date: Mon, 20 Sep 2021 23:07:43 +0800 Subject: [PATCH 44/46] Update README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 30399c8..b726aa3 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ ## 进度 -已经完成 99 道。 +已经完成 100 道。 ## 数组 @@ -93,6 +93,10 @@ - [739. 每日温度](https://github.com/Geekhyt/javascript-leetcode/issues/74) - [1047. 删除字符串中的所有相邻重复项](https://github.com/Geekhyt/javascript-leetcode/issues/80) +## 队列 + +- [239. 滑动窗口最大值](https://github.com/Geekhyt/javascript-leetcode/issues/95) + ## 贪心 - [55. 跳跃游戏](https://github.com/Geekhyt/javascript-leetcode/issues/24) From 00fa7880dbe84241bf7f1cbf8c513ce34fa7f338 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= Date: Sun, 17 Oct 2021 12:35:17 +0800 Subject: [PATCH 45/46] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b726aa3..29a8fcb 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,7 @@ - [归并排序](https://github.com/Geekhyt/javascript-leetcode/issues/42) - [快速排序](https://github.com/Geekhyt/javascript-leetcode/issues/43) - [堆排序](https://github.com/Geekhyt/javascript-leetcode/issues/44) -- [剑指 Offer 40. 最小的k个数](https://github.com/Geekhyt/javascript-leetcode/issues/83) +- [剑指 Offer 40. 最小的k个数](https://github.com/Geekhyt/javascript-leetcode/issues/82) ## DFS From 2ac05af6f10c6ed8e4a3f7f90cb749ee4d6a85f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AC=A7=E5=B7=B4?= Date: Fri, 4 Mar 2022 09:20:41 +0800 Subject: [PATCH 46/46] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 29a8fcb..1f1f5a1 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ - [20. 有效的括号](https://github.com/Geekhyt/javascript-leetcode/issues/21) - [84. 柱状图中最大的矩形](https://github.com/Geekhyt/javascript-leetcode/issues/22) - [155. 最小栈](https://github.com/Geekhyt/javascript-leetcode/issues/23) -- [739. 每日温度](https://github.com/Geekhyt/javascript-leetcode/issues/74) +- [739. 每日温度](https://github.com/Geekhyt/javascript-leetcode/issues/73) - [1047. 删除字符串中的所有相邻重复项](https://github.com/Geekhyt/javascript-leetcode/issues/80) ## 队列