From bb824e590f89f2ff61a94096f2b77a065b1de6fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=93=B6=E5=AD=90=E5=90=9B?= <2298060818@qq.com> Date: Tue, 27 Apr 2021 00:41:57 +0800 Subject: [PATCH 01/10] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 线上 --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index ab3d0d7..d506b1f 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ 我是瓶子君,公众号「前端瓶子君」作者,前端进阶博客:https://github.com/sisterAn/blog +[线上版本阅读更流畅,点击阅读](https://www.pzijun.cn/) + 作为一名前端,虽然在平常开发中很少写算法,但当我们需要深入前端框架、开发语言、开源库时,懂算法将大大提高我们看源码的能力。例如 : - virtual-dom diff 算法做了一些约定,后将原先 O(n3) 的时间复杂度降到了O(n) ,核心原理就是一个树的深度优先搜索 From 6a8dede1880cd1fb056ff4fc2d75354f8a0cf217 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=93=B6=E5=AD=90=E5=90=9B?= <2298060818@qq.com> Date: Wed, 28 Jul 2021 07:58:58 +0800 Subject: [PATCH 02/10] Update README.md N --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index d506b1f..324af73 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,7 @@ - [图解leetcode88:合并两个有序数组](https://github.com/sisterAn/JavaScript-Algorithms/issues/3) - [字节&leetcode1:两数之和](https://github.com/sisterAn/JavaScript-Algorithms/issues/4) - [腾讯&leetcode15:三数之和](https://github.com/sisterAn/JavaScript-Algorithms/issues/31) +- [字节:N数之和](https://github.com/sisterAn/JavaScript-Algorithms/issues/128) - [腾讯:数组扁平化、去重、排序 ](https://github.com/sisterAn/JavaScript-Algorithms/issues/5) - [leetcode349:给定两个数组,编写一个函数来计算它们的交集](https://github.com/sisterAn/JavaScript-Algorithms/issues/6) - [华为&leetcode146:设计和实现一个LRU(最近最少使用)缓存机制](https://github.com/sisterAn/JavaScript-Algorithms/issues/7) From 2caacddd29a33b843ec62d2a3c1e460358923f22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=93=B6=E5=AD=90=E5=90=9B?= <2298060818@qq.com> Date: Wed, 27 Oct 2021 07:29:59 +0800 Subject: [PATCH 03/10] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新 --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 324af73..d72d866 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,10 @@ - [前端进阶算法9:看完这篇,再也不怕堆排序、Top K、中位数问题面试了](https://github.com/sisterAn/JavaScript-Algorithms/issues/60) - [前端进阶算法10:别再说你不懂topk问题了](https://github.com/sisterAn/JavaScript-Algorithms/issues/73) - [前端进阶算法11:二叉查找树(BST树)](https://github.com/sisterAn/JavaScript-Algorithms/issues/87) +- [前端进阶算法12:数据结构与算法中的字符串](https://mp.weixin.qq.com/s/PzoR-Yl1kqAfdPExOCLikQ) +- [前端进阶算法13:一次搞定九大排序策略](https://mp.weixin.qq.com/s/fMmo2ybLWuPpZvmB6uZo_w) +- [前端进阶算法14:解读最常见的三大查找结构](https://mp.weixin.qq.com/s/8Ce63WfUAt5e2jmnN-RGJQ) +- [前端进阶算法15:95% 的算法都是基于这 6 种算法思想](https://mp.weixin.qq.com/s/gC-w-4_FfGxtfQ79mtpbFg) 想要更多更快的学习本系列,可以关注公众号「前端瓶子君」😊😊😊 From ab85da4a59f9ebbde6621e47c7ddc840456419d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=93=B6=E5=AD=90=E5=90=9B?= <2298060818@qq.com> Date: Mon, 7 Mar 2022 21:41:19 +0800 Subject: [PATCH 04/10] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 优化 --- README.md | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/README.md b/README.md index d72d866..83d0471 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # JavaScript-Algorithms -我是瓶子君,公众号「前端瓶子君」作者,前端进阶博客:https://github.com/sisterAn/blog +我是瓶子君,前端进阶博客:https://github.com/sisterAn/blog [线上版本阅读更流畅,点击阅读](https://www.pzijun.cn/) @@ -228,14 +228,3 @@ - [前端性能优化](https://github.com/sisterAn/JavaScript-Algorithms/issues/152) - [http 301 302 307之间的区别](https://github.com/sisterAn/JavaScript-Algorithms/issues/154) -## 从0到1构建完整的数据结构与算法体系 - -前端算法集训营第一期免费开营啦🎉🎉🎉,免费哟! - -在这里,瓶子君不仅介绍算法,还将算法与前端各个领域进行结合,包括浏览器、HTTP、V8、React、Vue源码等。 - -在这里,你可以每天学习一道大厂算法题(阿里、腾讯、百度、字节等等)或 leetcode,瓶子君都会在第二天解答哟! - - -扫码关注公众号【前端瓶子君】,回复【算法】,拉你进前端算法集训营 -![](http://resource.muyiy.cn/image/20200424231501.png) From 2a355c2d93e440e25f48969f910a128be3f55522 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=93=B6=E5=AD=90=E5=90=9B?= <2298060818@qq.com> Date: Wed, 9 Mar 2022 23:23:19 +0800 Subject: [PATCH 05/10] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新目录 --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 83d0471..24b5bff 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,6 @@ - [前端进阶算法1:如何分析、统计算法的执行效率和资源消耗?](https://github.com/sisterAn/JavaScript-Algorithms/issues/1) - [前端进阶算法2:从Chrome V8源码看JavaScript数组(附赠腾讯面试题)](https://github.com/sisterAn/JavaScript-Algorithms/issues/2) -- [瓶子君前端算法集训营第一期开营啦,免费哟](https://mp.weixin.qq.com/s/dQu7Re-DesCr6S8He3AOfQ) - [前端进阶算法3:从浏览器缓存淘汰策略和Vue的keep-alive学习LRU算法](https://github.com/sisterAn/JavaScript-Algorithms/issues/9) - [前端进阶算法4:链表原来如此简单(+leetcode刷题)](https://github.com/sisterAn/JavaScript-Algorithms/issues/12) - [10 问 10 答,带你快速入门前端算法](https://mp.weixin.qq.com/s/i8NbR1LjqhQEPxOILPSacA) From 0e4c58151183264c806726b66396b7a0f2db5e29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=93=B6=E5=AD=90=E5=90=9B?= <2298060818@qq.com> Date: Fri, 8 Apr 2022 00:05:18 +0800 Subject: [PATCH 06/10] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit useState实现 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 24b5bff..e8acabc 100644 --- a/README.md +++ b/README.md @@ -213,6 +213,7 @@ - [网易&美团:实现一个 findIndex 函数](https://github.com/sisterAn/JavaScript-Algorithms/issues/137) - [字节:模拟实现 Array.prototype.splice](https://github.com/sisterAn/JavaScript-Algorithms/issues/138) - [介绍 Redux 原理,并手写一个 Redux](https://github.com/sisterAn/JavaScript-Algorithms/issues/140) +- [手写 useState 实现](https://github.com/sisterAn/blog/issues/130) ### 基础题 - [字节:使用 CSS 画一个三角形](https://github.com/sisterAn/JavaScript-Algorithms/issues/123) From 7de1f035f12e048b438280aad5d823894f808cdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=93=B6=E5=AD=90=E5=90=9B?= <2298060818@qq.com> Date: Tue, 19 Apr 2022 17:00:24 +0800 Subject: [PATCH 07/10] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 变更 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index e8acabc..97dfaa3 100644 --- a/README.md +++ b/README.md @@ -130,6 +130,7 @@ - [leetcode207:课程表问题](https://github.com/sisterAn/JavaScript-Algorithms/issues/66) - [剑指Offer&Bigo:旋转矩阵](https://github.com/sisterAn/JavaScript-Algorithms/issues/57) - [腾讯&leetcode:螺旋矩阵 II](https://github.com/sisterAn/JavaScript-Algorithms/issues/134) +- [字节&剑指 Offer 29:顺时针打印矩阵](https://github.com/sisterAn/JavaScript-Algorithms/issues/119) ### 排序算法 - [腾讯&字节:介绍一下快排原理以及时间复杂度,并实现一个快排](https://github.com/sisterAn/JavaScript-Algorithms/issues/70) From da8b85844b8b945746cb12d98076307db58c39d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=93=B6=E5=AD=90=E5=90=9B?= <2298060818@qq.com> Date: Thu, 21 Apr 2022 15:55:25 +0800 Subject: [PATCH 08/10] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 贪心 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 97dfaa3..0a31226 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,7 @@ - [前端进阶算法13:一次搞定九大排序策略](https://mp.weixin.qq.com/s/fMmo2ybLWuPpZvmB6uZo_w) - [前端进阶算法14:解读最常见的三大查找结构](https://mp.weixin.qq.com/s/8Ce63WfUAt5e2jmnN-RGJQ) - [前端进阶算法15:95% 的算法都是基于这 6 种算法思想](https://mp.weixin.qq.com/s/gC-w-4_FfGxtfQ79mtpbFg) +- [前端进阶算法16:贪心算法套路问题](https://github.com/sisterAn/JavaScript-Algorithms/issues/171) 想要更多更快的学习本系列,可以关注公众号「前端瓶子君」😊😊😊 From 8fe6734f29294537e7d717b045daaabe094adf86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=93=B6=E5=AD=90=E5=90=9B?= <2298060818@qq.com> Date: Sat, 23 Apr 2022 16:33:47 +0800 Subject: [PATCH 09/10] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新目录 --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 0a31226..a1f80c8 100644 --- a/README.md +++ b/README.md @@ -209,7 +209,6 @@ - [腾讯:介绍 setTimeout 实现机制与原理](https://github.com/sisterAn/JavaScript-Algorithms/issues/98) - [阿里&字节:手写 async/await 的实现](https://github.com/sisterAn/JavaScript-Algorithms/issues/56) - [async await 和 promise 的关系](https://github.com/sisterAn/JavaScript-Algorithms/issues/149) -- [阿里等:实现一个 vue 的双向绑定](https://github.com/sisterAn/JavaScript-Algorithms/issues/100) - [手写 axios 实现](https://github.com/sisterAn/JavaScript-Algorithms/issues/104) - [手写一个发布-订阅模式](https://github.com/sisterAn/JavaScript-Algorithms/issues/110) - [网易&美团:实现一个 findIndex 函数](https://github.com/sisterAn/JavaScript-Algorithms/issues/137) From c435beea7c86da8cc65d512ec70dc8b42068e141 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=93=B6=E5=AD=90=E5=90=9B?= <2298060818@qq.com> Date: Sat, 23 Apr 2022 17:51:58 +0800 Subject: [PATCH 10/10] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新目录 --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index a1f80c8..ca7bd92 100644 --- a/README.md +++ b/README.md @@ -213,7 +213,6 @@ - [手写一个发布-订阅模式](https://github.com/sisterAn/JavaScript-Algorithms/issues/110) - [网易&美团:实现一个 findIndex 函数](https://github.com/sisterAn/JavaScript-Algorithms/issues/137) - [字节:模拟实现 Array.prototype.splice](https://github.com/sisterAn/JavaScript-Algorithms/issues/138) -- [介绍 Redux 原理,并手写一个 Redux](https://github.com/sisterAn/JavaScript-Algorithms/issues/140) - [手写 useState 实现](https://github.com/sisterAn/blog/issues/130) ### 基础题