Skip to content

Commit 7fb3d19

Browse files
authored
Merge pull request #1 from SharingSource/feat-indexing-new
feat: index initialisation
2 parents 8901ecc + 2aa5ac8 commit 7fb3d19

12 files changed

+46
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@
2121

2222
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
2323
hs_err_pid*
24+
25+
**/.DS_Store

Index/二分.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
| 题目 | 题解 | 难度 | 推荐指数 |
2+
| --------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ---- | -------- |
3+
| [4. 寻找两个正序数组的中位数 ](https://leetcode-cn.com/problems/median-of-two-sorted-arrays/) | [【刷穿 LC】朴素解法 + 分治解法](https://leetcode-cn.com/problems/median-of-two-sorted-arrays/solution/shua-chuan-lc-po-su-jie-fa-fen-zhi-jie-f-wtu2/) | 困难 | 🤩🤩🤩🤩 |

Index/分治.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
| 题目 | 题解 | 难度 | 推荐指数 |
2+
| --------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ---- | -------- |
3+
| [4. 寻找两个正序数组的中位数 ](https://leetcode-cn.com/problems/median-of-two-sorted-arrays/) | [【刷穿 LC】朴素解法 + 分治解法](https://leetcode-cn.com/problems/median-of-two-sorted-arrays/solution/shua-chuan-lc-po-su-jie-fa-fen-zhi-jie-f-wtu2/) | 困难 | 🤩🤩🤩🤩 |

Index/动态规划.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
| 题目 | 题解 | 难度 | 推荐指数 |
2+
| ----------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---- | -------- |
3+
| [10. 正则表达式匹配 ](https://leetcode-cn.com/problems/regular-expression-matching) | [【宫水三叶】如何利用的「等差」性质降低「正则字符串匹配」算法复杂度](https://leetcode-cn.com/problems/regular-expression-matching/solution/shua-chuan-lc-dong-tai-gui-hua-jie-fa-by-zn9w/) | 困难 | 🤩🤩🤩🤩 |

Index/双指针.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
| 题目 | 题解 | 难度 | 推荐指数 |
2+
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---- | ---------- |
3+
| [3. 无重复字符的最长子串 ](https://leetcode-cn.com/problems/longest-substring-without-repeating-characters/) | [【刷穿 LC】双指针 + 哈希表解法](https://leetcode-cn.com/problems/longest-substring-without-repeating-characters/solution/shua-chuan-lc-shuang-zhi-zhen-ha-xi-biao-q08m/) | 中等 | 🤩🤩🤩🤩🤩 |

Index/哈希表.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
| 题目 | 题解 | 难度 | 推荐指数 |
2+
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---- | ---------- |
3+
| [1. 两数之和](https://leetcode-cn.com/problems/two-sum/) | [【宫水三叶】朴素解法 + 哈希表解法](https://leetcode-cn.com/problems/two-sum/solution/po-su-jie-fa-ha-xi-biao-jie-fa-by-ac_oie-yf7o/) | 简单 | 🤩🤩🤩🤩🤩 |
4+
| [2. 两数相加](https://leetcode-cn.com/problems/add-two-numbers/) | [朴素解法(哨兵技巧)](https://leetcode-cn.com/problems/add-two-numbers/solution/po-su-jie-fa-shao-bing-ji-qiao-by-ac_oie-etln/) | 中等 | 🤩🤩🤩🤩🤩 |
5+
| [3. 无重复字符的最长子串 ](https://leetcode-cn.com/problems/longest-substring-without-repeating-characters/) | [【刷穿 LC】双指针 + 哈希表解法](https://leetcode-cn.com/problems/longest-substring-without-repeating-characters/solution/shua-chuan-lc-shuang-zhi-zhen-ha-xi-biao-q08m/) | 中等 | 🤩🤩🤩🤩🤩 |

Index/回文串问题.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
| 题目 | 题解 | 难度 | 推荐指数 |
2+
| ---------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---- | ---------- |
3+
| [5. 最长回文子串](https://leetcode-cn.com/problems/longest-palindromic-substring/) | [【必背模板】回文串问题的究极答案:Manacher 算法](https://leetcode-cn.com/problems/longest-palindromic-substring/solution/shua-chuan-lc-po-su-jie-fa-manacher-suan-i2px/) | 中等 | 🤩🤩🤩🤩🤩 |
4+
| [9. 回文数 ](https://leetcode-cn.com/problems/palindrome-number/) | [【刷穿 LC】字符串/非字符串 (完全翻转&部分翻转)](https://leetcode-cn.com/problems/palindrome-number/solution/shua-chuan-lc-zi-fu-chuan-fei-zi-fu-chua-e8l0/) | 简单 | 🤩🤩🤩🤩 |

Index/数学.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
| 题目 | 题解 | 难度 | 推荐指数 |
2+
| --------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---- | ---------- |
3+
| [2. 两数相加](https://leetcode-cn.com/problems/add-two-numbers/) | [朴素解法(哨兵技巧)](https://leetcode-cn.com/problems/add-two-numbers/solution/po-su-jie-fa-shao-bing-ji-qiao-by-ac_oie-etln/) | 中等 | 🤩🤩🤩🤩🤩 |
4+
| [6. Z 字形变换 ](https://leetcode-cn.com/problems/zigzag-conversion/) | [【刷穿 LC】直观规律解法 + 数学规律解法](https://leetcode-cn.com/problems/zigzag-conversion/solution/shua-chuan-lc-zhi-guan-gui-lu-jie-fa-shu-8226/) | 中等 | 🤩🤩🤩 |
5+
| [7. 整数反转 ](https://leetcode-cn.com/problems/reverse-integer/) | [【刷穿 LC】不完美解法 + 完美解法](https://leetcode-cn.com/problems/reverse-integer/solution/shua-chuan-lc-bu-wan-mei-jie-fa-wan-mei-919rd/) | 简单 | 🤩🤩🤩 |
6+
| [9. 回文数 ](https://leetcode-cn.com/problems/palindrome-number/) | [【刷穿 LC】字符串/非字符串 (完全翻转&部分翻转)](https://leetcode-cn.com/problems/palindrome-number/solution/shua-chuan-lc-zi-fu-chuan-fei-zi-fu-chua-e8l0/) | 简单 | 🤩🤩🤩🤩 |

Index/模拟.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
| 题目 | 题解 | 难度 | 推荐指数 |
2+
| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---- | ---------- |
3+
| [1. 两数之和](https://leetcode-cn.com/problems/two-sum/) | [【宫水三叶】朴素解法 + 哈希表解法](https://leetcode-cn.com/problems/two-sum/solution/po-su-jie-fa-ha-xi-biao-jie-fa-by-ac_oie-yf7o/) | 简单 | 🤩🤩🤩🤩🤩 |
4+
| [2. 两数相加](https://leetcode-cn.com/problems/add-two-numbers/) | [朴素解法(哨兵技巧)](https://leetcode-cn.com/problems/add-two-numbers/solution/po-su-jie-fa-shao-bing-ji-qiao-by-ac_oie-etln/) | 中等 | 🤩🤩🤩🤩🤩 |
5+
| [5. 最长回文子串](https://leetcode-cn.com/problems/longest-palindromic-substring/) | [【必背模板】回文串问题的究极答案:Manacher 算法](https://leetcode-cn.com/problems/longest-palindromic-substring/solution/shua-chuan-lc-po-su-jie-fa-manacher-suan-i2px/) | 中等 | 🤩🤩🤩🤩🤩 |
6+
| [6. Z 字形变换 ](https://leetcode-cn.com/problems/zigzag-conversion/) | [【刷穿 LC】直观规律解法 + 数学规律解法](https://leetcode-cn.com/problems/zigzag-conversion/solution/shua-chuan-lc-zhi-guan-gui-lu-jie-fa-shu-8226/) | 中等 | 🤩🤩🤩 |
7+
| [7. 整数反转 ](https://leetcode-cn.com/problems/reverse-integer/) | [【刷穿 LC】不完美解法 + 完美解法](https://leetcode-cn.com/problems/reverse-integer/solution/shua-chuan-lc-bu-wan-mei-jie-fa-wan-mei-919rd/) | 简单 | 🤩🤩🤩 |
8+
| [8. 字符串转换整数 (atoi)](https://leetcode-cn.com/problems/string-to-integer-atoi/) | [【刷穿 LC】简洁解法](https://leetcode-cn.com/problems/string-to-integer-atoi/solution/shua-chuan-lc-jian-ji-jie-fa-by-ac_oier-69tp/) | 中等 | 🤩🤩🤩 |

Index/滑动窗口.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
| 题目 | 题解 | 难度 | 推荐指数 |
2+
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---- | ---------- |
3+
| [3. 无重复字符的最长子串 ](https://leetcode-cn.com/problems/longest-substring-without-repeating-characters/) | [【刷穿 LC】双指针 + 哈希表解法](https://leetcode-cn.com/problems/longest-substring-without-repeating-characters/solution/shua-chuan-lc-shuang-zhi-zhen-ha-xi-biao-q08m/) | 中等 | 🤩🤩🤩🤩🤩 |

Index/递归.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
| 题目 | 题解 | 难度 | 推荐指数 |
2+
| ---------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | ---- | -------- |
3+
| [2. 两数相加](https://leetcode-cn.com/problems/add-two-numbers/) | [朴素解法(哨兵技巧)](https://leetcode-cn.com/problems/add-two-numbers/solution/po-su-jie-fa-shao-bing-ji-qiao-by-ac_oie-etln/) | 中等 | 🤩🤩🤩🤩🤩 |

Index/链表.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
| 题目 | 题解 | 难度 | 推荐指数 |
2+
| ---------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | ---- | -------- |
3+
| [2. 两数相加](https://leetcode-cn.com/problems/add-two-numbers/) | [朴素解法(哨兵技巧)](https://leetcode-cn.com/problems/add-two-numbers/solution/po-su-jie-fa-shao-bing-ji-qiao-by-ac_oie-etln/) | 中等 | 🤩🤩🤩🤩🤩 |

0 commit comments

Comments
 (0)