From ea59175a1db07e1ca499cde75372a1b0fead9f77 Mon Sep 17 00:00:00 2001 From: Xu Shaohua Date: Mon, 29 Apr 2024 05:32:21 +0800 Subject: [PATCH] Rename bitwise-algorithm to bit-manipulation --- src/SUMMARY.md | 4 ++-- .../assets/self-xor.drawio | 0 .../assets/self-xor.svg | 0 .../assets/swap_number.rs | 0 src/{bitwise-algorithm => bit-manipulation}/index.md | 0 src/{bitwise-algorithm => bit-manipulation}/self-xor.md | 0 src/leetcode/tags/linked-list.md | 3 +++ src/leetcode/tags/two-pointers.md | 2 +- 8 files changed, 6 insertions(+), 3 deletions(-) rename src/{bitwise-algorithm => bit-manipulation}/assets/self-xor.drawio (100%) rename src/{bitwise-algorithm => bit-manipulation}/assets/self-xor.svg (100%) rename src/{bitwise-algorithm => bit-manipulation}/assets/swap_number.rs (100%) rename src/{bitwise-algorithm => bit-manipulation}/index.md (100%) rename src/{bitwise-algorithm => bit-manipulation}/self-xor.md (100%) diff --git a/src/SUMMARY.md b/src/SUMMARY.md index 30f0ab8e..729296fe 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -51,8 +51,8 @@ - [查找](searching/index.md) - [二分查找 Binary Search](searching/binary-search/index.md) - [二分查找相关的问题列表](leetcode/tags/binary-search.md) -- [位运算 Bitwise Algorithm](bitwise-algorithm/index.md) - - [对自己异或操作结果为0](bitwise-algorithm/self-xor.md) +- [位运算 Bit Manipulation](bit-manipulation/index.md) + - [对自己异或操作结果为0](bit-manipulation/self-xor.md) - [位运算相关的问题列表](leetcode/tags/bit-manipulation.md) - [递归 Recursion](recursion/index.md) - [数学 Math](math/index.md) diff --git a/src/bitwise-algorithm/assets/self-xor.drawio b/src/bit-manipulation/assets/self-xor.drawio similarity index 100% rename from src/bitwise-algorithm/assets/self-xor.drawio rename to src/bit-manipulation/assets/self-xor.drawio diff --git a/src/bitwise-algorithm/assets/self-xor.svg b/src/bit-manipulation/assets/self-xor.svg similarity index 100% rename from src/bitwise-algorithm/assets/self-xor.svg rename to src/bit-manipulation/assets/self-xor.svg diff --git a/src/bitwise-algorithm/assets/swap_number.rs b/src/bit-manipulation/assets/swap_number.rs similarity index 100% rename from src/bitwise-algorithm/assets/swap_number.rs rename to src/bit-manipulation/assets/swap_number.rs diff --git a/src/bitwise-algorithm/index.md b/src/bit-manipulation/index.md similarity index 100% rename from src/bitwise-algorithm/index.md rename to src/bit-manipulation/index.md diff --git a/src/bitwise-algorithm/self-xor.md b/src/bit-manipulation/self-xor.md similarity index 100% rename from src/bitwise-algorithm/self-xor.md rename to src/bit-manipulation/self-xor.md diff --git a/src/leetcode/tags/linked-list.md b/src/leetcode/tags/linked-list.md index 9b32e21c..2f1844c8 100644 --- a/src/leetcode/tags/linked-list.md +++ b/src/leetcode/tags/linked-list.md @@ -10,8 +10,11 @@ ## 中等 +- [2. Add Two Numbers](https://leetcode.com/problems/add-two-numbers) +- [445. Add Two Numbers II](https://leetcode.com/problems/add-two-numbers-ii/description/) - [面试题 02.05. 链表求和](https://leetcode.cn/problems/sum-lists-lcci) ## 困难 +- [23. Merge k Sorted Lists](https://leetcode.com/problems/merge-k-sorted-lists/description/) - [25. K 个一组翻转链表](https://leetcode.com/problems/reverse-nodes-in-k-group) \ No newline at end of file diff --git a/src/leetcode/tags/two-pointers.md b/src/leetcode/tags/two-pointers.md index 5536887e..69b7356e 100644 --- a/src/leetcode/tags/two-pointers.md +++ b/src/leetcode/tags/two-pointers.md @@ -13,6 +13,7 @@ - [160. 相交链表](https://leetcode.com/problems/intersection-of-two-linked-lists) - [234. 回文链表](https://leetcode.com/problems/palindrome-linked-list) +- [485. 最大连续1的个数](https://leetcode.com/problems/max-consecutive-ones) - [925.长按键入](https://leetcode.com/problems/long-pressed-name) ## 中等 @@ -26,7 +27,6 @@ - [80. 删除排序数组中的重复项 II](https://leetcode.com/problems/remove-duplicates-from-sorted-array-ii) - [142. 环形链表 II](https://leetcode.com/problems/linked-list-cycle-ii) - [443. 压缩字符串](https://leetcode.com/problems/string-compression) -- [485. 最大连续1的个数](https://leetcode.com/problems/max-consecutive-ones) - [524. 通过删除字母匹配到字典里最长单词](https://leetcode.com/problems/longest-word-in-dictionary-through-deleting) - [532.数组中的数对](https://leetcode.com/problems/k-diff-pairs-in-an-array) - [986. 区间列表的交集](https://leetcode.com/problems/interval-list-intersections)