diff --git a/.github/workflows/check-format.js b/.github/workflows/check-format.js new file mode 100644 index 000000000..0e4dea8bc --- /dev/null +++ b/.github/workflows/check-format.js @@ -0,0 +1,30 @@ +// const util = require("util"); +// const glob = util.promisify(require('glob')); +// const fs = require("fs").promises; +// const path = require('path'); + + +// async function main() { +// var errors = []; +// var directories = await glob(__dirname + '../../**/*.md'); + +// for (var filePath of directories) { +// var data = await fs.readFile(filePath, 'utf8'); +// var filename = path.parse(filePath).base.replace(".md", ""); + +// // do check +// } + +// if (errors.length > 0) { +// for (var error of errors) { +// console.error(error + "\n"); +// } + +// var message = `Found ${errors.length} errors! Please fix!`; +// throw new Error(message); +// } +// } + +// main(); + +console.log('TO BE IMPLEMENTED') \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..227c89234 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,31 @@ +name: Continuous Integration + +on: + pull_request: + branches: [master] + +jobs: + markdown-lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: "16" + cache: "npm" + - name: Install packages + run: sudo gem install mdl + - name: Get file changes + id: get_file_changes + uses: trilom/file-changes-action@v1.2.3 + with: + output: " " + - name: Echo file changes + run: | + echo Changed files: ${{ steps.get_file_changes.outputs.files }} + - name: Lint markdown files + run: mdl ${{ steps.get_file_changes.outputs.files}} + - run: npm install + - run: node .github/check-format.js + # Suppress 036 Emphasis used instead of a header + # Suppress 024 Multiple headers with the same content diff --git a/.mdl_style.rb b/.mdl_style.rb new file mode 100644 index 000000000..7e570ce37 --- /dev/null +++ b/.mdl_style.rb @@ -0,0 +1,7 @@ +all +# 我想让图片居中,单纯的 md 似乎做不到,所以使用 raw html 来实现 +exclude_rule 'MD033' +# 仅仅是强调,不需要用 header +exclude_rule 'MD036' +# 这个 rule 有 bug? +exclude_rule 'MD029' \ No newline at end of file diff --git a/.mdlrc b/.mdlrc new file mode 100644 index 000000000..35400a103 --- /dev/null +++ b/.mdlrc @@ -0,0 +1 @@ +style '.mdl_style.rb' \ No newline at end of file diff --git a/README.md b/README.md index 2dd94a7d2..baa830731 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,8 @@ [![Travis](https://img.shields.io/badge/language-Php-pink.svg)]() [![Travis](https://img.shields.io/badge/language-JavaScript-yellow.svg)]() -[![](https://img.shields.io/badge/WeChat-微信群-brightgreen)](#哪里能找到我) -[![](https://img.shields.io/badge/公众号-力扣加加-blueviolet)](#哪里能找到我) +[![](https://img.shields.io/badge/WeChat-微信群-brightgreen)](#哪里能找到我) +[![](https://img.shields.io/badge/公众号-力扣加加-blueviolet)](#哪里能找到我) [![](https://img.shields.io/badge/Juejin-掘金-blue)](https://juejin.im/user/58af98305c497d0067780b3b) [![](https://img.shields.io/badge/Zhihu-知乎-blue)](https://www.zhihu.com/people/lu-xiao-13-70) [![](https://img.shields.io/badge/bilili-哔哩哔哩-ff69b4)](https://space.bilibili.com/519510412/) @@ -17,7 +17,8 @@ --- -我们的 slogan 是: **只有熟练掌握基础的数据结构与算法,才能对复杂问题迎刃有余。** +我们的 slogan 是: **只有熟练掌握基础的数据结构与算法,才能对复杂问题迎刃有余 +。** ## 🔥🔥🔥 我的《算法通关之路》出版了 🔥🔥🔥 @@ -31,7 +32,7 @@ - [电子版购书链接](https://union-click.jd.com/jdc?e=&p=JF8BAL0JK1olXDYAVVhfD04UAl9MRANLAjZbERscSkAJHTdNTwcKBlMdBgABFkkWBW0PHlgUQl9HCANtcS0SdTFvWVt1X3BkVV4Kc0JxYRtPe1cZbQcyVF9cCEMSBGoOHmslXQEyHzBcOEonA2gKE1oVWwEKXV5cAXsQA2Y4QA57WgYHBwoOCxlAUztfTmslbQUyZG5dOEgnQQFaSQ5FWQYFB1cODhgSVDpaS1hFDwQLUlwJAU5DAWcJHWsXXAcGXW4) -## :blue_book:电子书 +## :blue_book: 电子书 **注意:这里的电子书并不是《算法通关之路》的电子版,而是本仓库内容的电子版!** @@ -47,13 +48,20 @@ > epub 还是有动图的 -另外有些内容只在公众号发布,因此大家觉得内容不错的话,可以关注一下。如果再给 ➕ 个星标就更棒啦! +另外有些内容只在公众号发布,因此大家觉得内容不错的话,可以关注一下。如果再给 ➕ +个星标就更棒啦! ## :calendar:《91 天学算法》限时活动 -很多教育机构宣传的 7 天,一个月搞定算法面试的,我大概都了解了下,不怎么靠谱。学习算法这东西,还是要靠积累,没有量变是不可能有质变的。还有的人选择看书,这是一个不错的选择。但是很多人选了过时的或者质量差的书,又或者不会去写书中给的练习题,导致效果很差。 +很多教育机构宣传的 7 天,一个月搞定算法面试的,我大概都了解了下,不怎么靠谱。学 +习算法这东西,还是要靠积累,没有量变是不可能有质变的。还有的人选择看书,这是一个 +不错的选择。但是很多人选了过时的或者质量差的书,又或者不会去写书中给的练习题,导 +致效果很差。 -基于这几个原因,我组织了一个 91 天刷题活动,通过一个相对比较长的时间(91 天)给出最新的学习路径,并强制大家打卡这种高强度练习来让大家**在 91 天后遇见更好的自己**。详细活动介绍可以点下方链接查看。另外往期的讲义也在下面了,大家可以看看合不合你的口味。 +基于这几个原因,我组织了一个 91 天刷题活动,通过一个相对比较长的时间(91 天)给 +出最新的学习路径,并强制大家打卡这种高强度练习来让大家**在 91 天后遇见更好的自 +己**。详细活动介绍可以点下方链接查看。另外往期的讲义也在下面了,大家可以看看合不 +合你的口味。 最后送给大家一句话: **坚持下去,会有突然间成长的一天**。 @@ -69,7 +77,7 @@ ![](https://tva1.sinaimg.cn/large/008i3skNly1gx11szd02ej30e80e8dg3.jpg) -## :octocat:仓库介绍 +## :octocat: 仓库介绍 leetcode 题解,记录自己的 leetcode 解题之路。 @@ -79,15 +87,19 @@ leetcode 题解,记录自己的 leetcode 解题之路。 - 第二部分是对于数据结构与算法的总结 -- 第三部分是 anki 卡片, 将 leetcode 题目按照一定的方式记录在 anki 中,方便大家记忆。 +- 第三部分是 anki 卡片, 将 leetcode 题目按照一定的方式记录在 anki 中,方便大家 + 记忆。 -- 第四部分是每日一题,每日一题是在交流群(包括微信和 qq)里进行的一种活动,大家一起 解一道题,这样讨论问题更加集中,会得到更多的反馈。而且 这些题目可以被记录下来,日后会进行筛选添加到仓库的题解模块。 +- 第四部分是每日一题,每日一题是在交流群(包括微信和 qq)里进行的一种活动,大家 + 一起 解一道题,这样讨论问题更加集中,会得到更多的反馈。而且 这些题目可以被记录 + 下来,日后会进行筛选添加到仓库的题解模块。 - 第五部分是计划, 这里会记录将来要加入到以上三个部分内容 -## :meat_on_bone:仓库食用指南 +## :meat_on_bone: 仓库食用指南 -- 这里有一张互联网公司面试中经常考察的问题类型总结的思维导图,我们可以结合图片中的信息分析一下。 +- 这里有一张互联网公司面试中经常考察的问题类型总结的思维导图,我们可以结合图片中 + 的信息分析一下。 ![leetcode-zhihu](https://tva1.sinaimg.cn/large/007S8ZIlly1ghluennxvrj30k00jx0te.jpg) @@ -110,7 +122,8 @@ leetcode 题解,记录自己的 leetcode 解题之路。 - 树与图:最近公共祖先、并查集 - 字符串:前缀树(字典树) / 后缀树 -我在网上找到一份[《Interview Cheat Sheet》](./assets/cheatsheet.pdf),这个 PDF 列举了面试的**模板步骤**。,详细指示了如何一步步完成面试。 +我在网上找到一份 [《Interview Cheat Sheet》](./assets/cheatsheet.pdf),这个 PDF +列举了面试的**模板步骤**。,详细指示了如何一步步完成面试。 这个 pdf 开头就提到了好的代码三个标准: @@ -120,11 +133,13 @@ leetcode 题解,记录自己的 leetcode 解题之路。 这写的太好了。 -紧接着,列举了 15 算法面试的步骤。比如步骤一:**当面试官提问完后,你需要先下来关键点(之后再下面写注释和代码)** 看完我的感受就是,**面试只要按照这个来做,成功率蹭蹭提升** +紧接着,列举了 15 算法面试的步骤。比如步骤一:**当面试官提问完后,你需要先下来关 +键点(之后再下面写注释和代码)** 看完我的感受就是,**面试只要按照这个来做,成功 +率蹭蹭提升** ## 图片加载不出来如何解决? -https://github.com/fe-lucifer/fanqiang + ## 数据结构与算法的总结 @@ -135,8 +150,10 @@ https://github.com/fe-lucifer/fanqiang - [堆专题(下)](./thinkings/heap-2.md) - [二分专题(上)](./thinkings/binary-search-1.md) - [二分专题(下)](./thinkings/binary-search-2.md) + -- [动态规划(重置版)](./thinkings/dynamic-programming.md) + +- [动态规划(重置版)](./thinkings/dynamic-programming.md) - [大话搜索](./thinkings/search.md) - [二叉树的遍历](./thinkings/binary-tree-traversal.md) - [回溯](./thinkings/backtrack.md) @@ -154,7 +171,7 @@ https://github.com/fe-lucifer/fanqiang - [蓄水池抽样](./thinkings/reservoid-sampling.md) - [单调栈](./thinkings/monotone-stack.md) -## :exclamation:怎么刷 LeetCode? +## :exclamation: 怎么刷 LeetCode? - [我是如何刷 LeetCode 的](https://www.zhihu.com/question/280279208/answer/824585814) - [算法小白如何高效、快速刷 leetcode?](https://www.zhihu.com/question/321738058/answer/1279464192) @@ -165,9 +182,11 @@ https://github.com/fe-lucifer/fanqiang 或许是一个可以改变你刷题效率的浏览器扩展插件。 -插件地址:https://chrome.google.com/webstore/detail/leetcode-cheatsheet/fniccleejlofifaakbgppmbbcdfjonle?hl=en-US。 +插件地址 +:。 -> 不能访问谷歌商店的朋友可以去我的公众号回复插件获取离线版。强烈推荐大家使用谷歌商店安装, 这样如果有更新可以自动安装,毕竟咱们的插件更新还是蛮快的。 +> 不能访问谷歌商店的朋友可以去我的公众号回复插件获取离线版。强烈推荐大家使用谷歌 +> 商店安装, 这样如果有更新可以自动安装,毕竟咱们的插件更新还是蛮快的。 ## 精选题解 @@ -189,7 +208,9 @@ https://github.com/fe-lucifer/fanqiang ### 简单难度题目合集 -这里的题目难度比较小, 大多是模拟题,或者是很容易看出解法的题目,另外简单题目一般使用暴力法都是可以解决的。 这个时候只有看一下数据范围,思考下你的算法复杂度就行了。 +这里的题目难度比较小, 大多是模拟题,或者是很容易看出解法的题目,另外简单题目一 +般使用暴力法都是可以解决的。 这个时候只有看一下数据范围,思考下你的算法复杂度就 +行了。 当然也不排除很多 hard 题目也可以暴力模拟,大家平时多注意数据范围即可。 @@ -244,9 +265,12 @@ https://github.com/fe-lucifer/fanqiang ### 中等难度题目合集 -中等题目是力扣比例最大的部分,因此这部分我的题解也是最多的。 大家不要太过追求难题,先把中等难度题目做熟了再说。 +中等题目是力扣比例最大的部分,因此这部分我的题解也是最多的。 大家不要太过追求难 +题,先把中等难度题目做熟了再说。 -这部分的题目要不需要我们挖掘题目的内含信息, 将其抽象成简单题目。 要么是一些写起来比较麻烦的题目, 一些人编码能力不行就挂了。因此大家一定要自己做, 即使看了题解”会了“,也要自己码一遍。自己不亲自写一遍,里面的细节永远不知道。 +这部分的题目要不需要我们挖掘题目的内含信息, 将其抽象成简单题目。 要么是一些写起 +来比较麻烦的题目, 一些人编码能力不行就挂了。因此大家一定要自己做, 即使看了题解 +”会了“,也要自己码一遍。自己不亲自写一遍,里面的细节永远不知道。 以下是我列举的经典题目(带 91 字样的表示出自 **91 天学算法**活动): @@ -254,7 +278,8 @@ https://github.com/fe-lucifer/fanqiang - [面试题 17.23. 最大黑方阵](./problems/max-black-square-lcci.md) - [面试题 16.16. 部分排序](./problems/sub-sort-lcci.md) - [Increasing Digits](./problems/Increasing-Digits.md) 👍 -- [Longest Contiguously Strictly Increasing Sublist After Deletion](./problems/Longest-Contiguously-Strictly-Increasing-Sublist-After-Deletion.md) 👍 +- [Longest Contiguously Strictly Increasing Sublist After Deletion](./problems/Longest-Contiguously-Strictly-Increasing-Sublist-After-Deletion.md) + 👍 - [Consecutive Wins](./problems/consecutive-wins.md) - [Sort-String-by-Flipping](./problems/Sort-String-by-Flipping.md) - [Number of Substrings with Single Character Difference](./problems/Number-of-Substrings-with-Single-Character-Difference.md) @@ -316,7 +341,7 @@ https://github.com/fe-lucifer/fanqiang - [0199. 二叉树的右视图](./problems/199.binary-tree-right-side-view.md) 👍 - [0200. 岛屿数量](./problems/200.number-of-islands.md) 👍 - [0201. 数字范围按位与](./problems/201.bitwise-and-of-numbers-range.md) -- [0208. 实现 Trie (前缀树)](./problems/208.implement-trie-prefix-tree.md) +- [0208. 实现 Trie (前缀树)](./problems/208.implement-trie-prefix-tree.md) - [0209. 长度最小的子数组](./problems/209.minimum-size-subarray-sum.md) - [0211. 添加与搜索单词 - 数据结构设计](./problems/211.add-and-search-word-data-structure-design.md) - [0215. 数组中的第 K 个最大元素](./problems/215.kth-largest-element-in-an-array.md) @@ -386,7 +411,8 @@ https://github.com/fe-lucifer/fanqiang - [0947. 移除最多的同行或同列石头](./problems/947.most-stones-removed-with-same-row-or-column.md) - [0959. 由斜杠划分区域](./problems/959.regions-cut-by-slashes.md) - [0978. 最长湍流子数组](./problems/978.longest-turbulent-subarray.md) -- [0987. 二叉树的垂序遍历](./problems/987.vertical-order-traversal-of-a-binary-tree.md) 91 +- [0987. 二叉树的垂序遍历](./problems/987.vertical-order-traversal-of-a-binary-tree.md) + 91 - [1004. 最大连续 1 的个数 III](./problems/1004.max-consecutive-ones-iii.md) - [1011. 在 D 天内送达包裹的能力](./problems/1011.capacity-to-ship-packages-within-d-days.md) - [1014. 最佳观光组合](./problems/1014.best-sightseeing-pair.md) @@ -398,18 +424,20 @@ https://github.com/fe-lucifer/fanqiang - [1043. 分隔数组以得到最大和](./problems/1043.partition-array-for-maximum-sum.md) - [1104. 二叉树寻路](./problems/1104.path-in-zigzag-labelled-binary-tree.md) - [1129. 颜色交替的最短路径](./problems/1129.shortest-path-with-alternating-colors.md) -- [1131.绝对值表达式的最大值](./problems/1131.maximum-of-absolute-value-expression.md) +- [1131. 绝对值表达式的最大值](./problems/1131.maximum-of-absolute-value-expression.md) - [1138. 字母板上的路径](./problems/1138.alphabet-board-path.md) - [1186. 删除一次得到子数组最大和](./problems/1186.maximum-subarray-sum-with-one-deletion.md) - [1218. 最长定差子序列](./problems/1218.longest-arithmetic-subsequence-of-given-difference.md) -- [1227. 飞机座位分配概率](./problems/1227.airplane-seat-assignment-probability.md) 👍 +- [1227. 飞机座位分配概率](./problems/1227.airplane-seat-assignment-probability.md) + 👍 - [1261. 在受污染的二叉树中查找元素](./problems/1261.find-elements-in-a-contaminated-binary-tree.md) - [1262. 可被三整除的最大和](./problems/1262.greatest-sum-divisible-by-three.md) - [1297. 子串的最大出现次数](./problems/1297.maximum-number-of-occurrences-of-a-substring.md) - [1310. 子数组异或查询](./problems/1310.xor-queries-of-a-subarray.md) - [1334. 阈值距离内邻居最少的城市](./problems/1334.find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance.md) -- [1371.每个元音包含偶数次的最长子字符串](./problems/1371.find-the-longest-substring-containing-vowels-in-even-counts.md) -- [1381. 设计一个支持增量操作的栈](./problems/1381.design-a-stack-with-increment-operation.md) 91 +- [1371. 每个元音包含偶数次的最长子字符串](./problems/1371.find-the-longest-substring-containing-vowels-in-even-counts.md) +- [1381. 设计一个支持增量操作的栈](./problems/1381.design-a-stack-with-increment-operation.md) + 91 - [1423. 可获得的最大点数](./problems/1423.maximum-points-you-can-obtain-from-cards.md) - [1438. 绝对差不超过限制的最长连续子数组](./problems/1438.longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit.md) - [1558. 得到目标数组的最少函数调用次数](./problems/1558.minimum-numbers-of-function-calls-to-make-target-array.md) @@ -420,7 +448,8 @@ https://github.com/fe-lucifer/fanqiang - [1697. 检查边长度限制的路径是否存在](./problems/1697.checking-existence-of-edge-length-limited-paths.md) - [1737. 满足三条件之一需改变的最少字符数](./problems/1737.change-minimum-characters-to-satisfy-one-of-three-conditions.md) - [1834. 单线程 CPU](./problems/1834.single-threaded-cpu.md) -- [1899. 合并若干三元组以形成目标三元组](./problems/1899.merge-triplets-to-form-target-triplet.md) 👍 +- [1899. 合并若干三元组以形成目标三元组](./problems/1899.merge-triplets-to-form-target-triplet.md) + 👍 - [1904. 你完成的完整对局数](./problems/1904.the-number-of-full-rounds-you-have-played.md) - [1906. 查询差绝对值的最小值](./problems/1906.minimum-absolute-difference-queries.md) - [2007. 从双倍数组中还原原数组](./problems/2007.find-original-array-from-doubled-array.md) @@ -461,11 +490,13 @@ https://github.com/fe-lucifer/fanqiang - [Triple Inversion](./problems/Triple-Inversion.md) 91 - [Kth Pair Distance](./problems/Kth-Pair-Distance.md) 91 - [Minimum Light Radius](./problems/Minimum-Light-Radius.md) 91 -- [Largest Equivalent Set of Pairs](./problems/Largest-Equivalent-Set-of-Pairs.md) 👍 +- [Largest Equivalent Set of Pairs](./problems/Largest-Equivalent-Set-of-Pairs.md) + 👍 - [Ticket-Order.md](./problems/Ticket-Order.md) - [Connected-Road-to-Destination](./problems/Connected-Road-to-Destination.md) -- [0004. 寻找两个正序数组的中位数](./problems/4.median-of-two-sorted-arrays.md) 👍 +- [0004. 寻找两个正序数组的中位数](./problems/4.median-of-two-sorted-arrays.md) + 👍 - [0023. 合并 K 个升序链表](./problems/23.merge-k-sorted-lists.md) - [0025. K 个一组翻转链表](./problems/25.reverse-nodes-in-k-groups.md) 👍 - [0030. 串联所有单词的子串](./problems/30.substring-with-concatenation-of-all-words.md) @@ -487,7 +518,8 @@ https://github.com/fe-lucifer/fanqiang - [0212. 单词搜索 II](./problems/212.word-search-ii.md) - [0239. 滑动窗口最大值](./problems/239.sliding-window-maximum.md) 👍 - [0295. 数据流的中位数](./problems/295.find-median-from-data-stream.md) -- [0297. 二叉树的序列化与反序列化](./problems/297.serialize-and-deserialize-binary-tree.md) 91 +- [0297. 二叉树的序列化与反序列化](./problems/297.serialize-and-deserialize-binary-tree.md) + 91 - [0301. 删除无效的括号](./problems/301.remove-invalid-parentheses.md) - [0312. 戳气球](./problems/312.burst-balloons.md) - [330. 按要求补齐数组](./problems/330.patching-array.md) @@ -503,7 +535,8 @@ https://github.com/fe-lucifer/fanqiang - [0679. 24 点游戏](./problems/679.24-game.md) - [0715. Range 模块](./problems/715.range-module.md) 👍 - [0726. 原子的数量](./problems/726.number-of-atoms.md) -- [0768. 最多能完成排序的块 II](./problems/768.max-chunks-to-make-sorted-ii.md) 91 +- [0768. 最多能完成排序的块 II](./problems/768.max-chunks-to-make-sorted-ii.md) + 91 - [0805. 数组的均值分割](./problems/805.split-array-with-same-average.md) - [0839. 相似字符串组](./problems/839.similar-string-groups.md) - [0887. 鸡蛋掉落](./problems/887.super-egg-drop.md) @@ -536,17 +569,20 @@ https://github.com/fe-lucifer/fanqiang - [2025. 分割数组的最多方案数](./problems/2025.maximum-number-of-ways-to-partition-an-array.md) - [2030. 含特定字母的最小子序列](./problems/2030.smallest-k-length-subsequence-with-occurrences-of-a-letter.md) - [2102. 序列顺序查询](./problems/2102.sequentially-ordinal-rank-tracker.md) -- [5999. 统计数组中好三元组数目](./problems/5999.count-good-triplets-in-an-array.md) 👍 +- [5999. 统计数组中好三元组数目](./problems/5999.count-good-triplets-in-an-array.md) + 👍 ## :trident:  anki 卡片 -Anki 主要分为两个部分:一部分是关键点到题目的映射,另一部分是题目到思路,关键点,代码的映射。 +Anki 主要分为两个部分:一部分是关键点到题目的映射,另一部分是题目到思路,关键点 +,代码的映射。 全部卡片都在 [anki-card](./assets/anki/leetcode.apkg) 使用方法: -anki - 文件 - 导入 - 下拉格式选择“打包的 anki 集合”,然后选中你下载好的文件,确定即可。 +anki - 文件 - 导入 - 下拉格式选择“打包的 anki 集合”,然后选中你下载好的文件,确 +定即可。 更多关于 anki 使用方法的请查看 [anki 官网](https://apps.ankiweb.net/) @@ -562,14 +598,19 @@ anki - 文件 - 导入 - 下拉格式选择“打包的 anki 集合”,然后 > 已加入的题目有:#2 #3 #11 -## :chart_with_upwards_trend:大事件 +## :chart_with_upwards_trend: 大事件 -- 2019-07-10 :[纪念项目 Star 突破 1W 的一个短文](./thanksGiving.md), 记录了项目的"兴起"之路,大家有兴趣可以看一下,如果对这个项目感兴趣,请**点击一下 Star**, 项目会**持续更新**,感谢大家的支持。 +- 2019-07-10 :[纪念项目 Star 突破 1W 的一个短文](./thanksGiving.md), 记录了项 + 目的"兴起"之路,大家有兴趣可以看一下,如果对这个项目感兴趣,请**点击一下 + Star**, 项目会**持续更新**,感谢大家的支持。 -- 2019-10-08: [纪念 LeetCode 项目 Star 突破 2W](./thanksGiving2.md),并且 Github 搜索“LeetCode”,排名第一。 +- 2019-10-08: [纪念 LeetCode 项目 Star 突破 2W](./thanksGiving2.md),并且 Github + 搜索“LeetCode”,排名第一。 - 2020-04-12: [项目突破三万 Star](./thanksGiving3.md)。 -- 2020-04-14: 官网`力扣加加`上线啦 💐💐💐💐💐,有专题讲解,每日一题,下载区和视频题解,后续会增加更多内容,还不赶紧收藏起来?地址:http://leetcode-solution.cn/ +- 2020-04-14: 官网`力扣加加`上线啦 💐💐💐💐💐,有专题讲解,每日一题,下载区和视 + 频题解,后续会增加更多内容,还不赶紧收藏起来?地址 + : ![](https://tva1.sinaimg.cn/large/007S8ZIlly1ghluemaoj3j30z90dtmy5.jpg) @@ -577,14 +618,18 @@ anki - 文件 - 导入 - 下拉格式选择“打包的 anki 集合”,然后 ## :gift_heart: 贡献 -- 如果有想法和创意,请提 [issue](https://github.com/azl397985856/leetcode/issues) 或者进群提 +- 如果有想法和创意,请提 + [issue](https://github.com/azl397985856/leetcode/issues) 或者进群提 - 如果想贡献增加题解或者翻译, 可以参考 [贡献指南](./CONTRIBUTING.md) - > 关于如何提交题解,我写了一份 [指南](./templates/problems/1014.best-sightseeing-pair.md) -- 如果需要修改项目中图片,[这里](./assets/drawio/) 存放了项目中绘制图的源代码, 大家可以用 [draw.io](https://www.draw.io/) 打开进行编辑。 + > 关于如何提交题解,我写了一份 + > [指南](./templates/problems/1014.best-sightseeing-pair.md) +- 如果需要修改项目中图片,[这里](./assets/drawio/) 存放了项目中绘制图的源代码, + 大家可以用 [draw.io](https://www.draw.io/) 打开进行编辑。 -## :love_letter:鸣谢 +## :love_letter: 鸣谢 -感谢为这个项目作出贡献的所有 [小伙伴](https://github.com/azl397985856/leetcode/graphs/contributors) +感谢为这个项目作出贡献的所有 +[小伙伴](https://github.com/azl397985856/leetcode/graphs/contributors) ## License