Skip to content

Commit

Permalink
Move search/sort out of array/
Browse files Browse the repository at this point in the history
  • Loading branch information
XuShaohua committed Jul 3, 2024
1 parent 74bf003 commit d30d3f9
Show file tree
Hide file tree
Showing 65 changed files with 40 additions and 36 deletions.
58 changes: 29 additions & 29 deletions src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,6 @@
- [数组的基本操作](array/ops.md)
- [反转数组](array/reverse.md)
- [旋转数组](array/rotate.md)
- [排序 Sorting](array/sort/index.md)
- [冒泡排序 Bubble Sort](array/sort/bubble-sort.md)
- [插入排序 Insertion Sort](array/sort/insertion-sort.md)
- [选择排序 Selection Sort](array/sort/selection-sort.md)
- [归并排序 Merge Sort](array/sort/merge-sort.md)
- [Dual Pivot Quick Sort](array/sort/dual-pivot-quick-sort.md)
- [桶排序 Bucket Sort](array/sort/bucket-sort.md)
- [堆排序 Heap Sort](array/sort/heap-sort.md)
- [基数排序 Radix Sort](array/sort/radix-sort.md)
- [计数排序 Counting Sort](array/sort/counting-sort.md)
- [希尔排序 Shell Sort](array/sort/shell-sort.md)
- [侏儒排序 Gnome Sort](array/sort/gnome-sort.md)
- [快速选择 Quick Select](array/sort/quick-select.md)
- [排序相关的问题列表](leetcode/tags/sort.md)
- [标准库中排序算法的实现](array/sort/sort-in-std.md)
- [查找 Search](array/search/index.md)
- [线性查找 Linear Search](array/search/linear-search.md)
- [二分查找 Binary Search](array/search/binary-search.md)
- [二分查找相关的问题列表](leetcode/tags/binary-search.md)
- [三元查找 Ternary Search](array/search/ternary-search.md)
- [Jump Search](array/search/jump-search.md)
- [Interpolation Search](array/search/interpolation-search.md)
- [Exponential Search](array/search/exponential-search.md)
- [标准库中二分查找法的实现](array/search/binary-search-in-std.md)
- [前缀和数组 Prefix Sum Array](array/prefix-sum-array.md)
- [前缀和相关的问题列表](leetcode/tags/prefix-sum.md)
- [后缀数组 Suffix Array](array/suffix-array.md)
Expand All @@ -43,11 +19,6 @@
- [链表 List](list/index.md)
- [单链表](list/single.md)
- [双链表](list/double.md)
- [链表排序 Sort](list/sort/index.md)
- [冒泡排序 Bubble Sort](list/sort/bubble-sort.md)
- [插入排序 Insertion Sort](list/sort/insertion-sort.md)
- [选择排序 Selection Sort](list/sort/selection-sort.md)
- [归并排序 Merge Sort](list/sort/merge-sort.md)
- [标准库中 List 的实现](list/impl-oflist.md)
- [跳跃表 SkipList](list/skiplist/index.md)
- [链表相关的问题列表](leetcode/tags/linked-list.md)
Expand Down Expand Up @@ -93,6 +64,35 @@

- [算法分析 Analysis](algs-analysis/index.md)
- [测试用的数据集](dataset/index.md)
- [排序 Sorting](sort/index.md)
- [冒泡排序 Bubble Sort](sort/bubble-sort.md)
- [插入排序 Insertion Sort](sort/insertion-sort.md)
- [选择排序 Selection Sort](sort/selection-sort.md)
- [归并排序 Merge Sort](sort/merge-sort.md)
- [Dual Pivot Quick Sort](sort/dual-pivot-quick-sort.md)
- [桶排序 Bucket Sort](sort/bucket-sort.md)
- [堆排序 Heap Sort](sort/heap-sort.md)
- [基数排序 Radix Sort](sort/radix-sort.md)
- [计数排序 Counting Sort](sort/counting-sort.md)
- [希尔排序 Shell Sort](sort/shell-sort.md)
- [侏儒排序 Gnome Sort](sort/gnome-sort.md)
- [快速选择 Quick Select](sort/quick-select.md)
- [排序相关的问题列表](leetcode/tags/sort.md)
- [标准库中排序算法的实现](sort/sort-in-std.md)
- [链表排序 List Sort](list-sort/index.md)
- [冒泡排序 Bubble Sort](list-sort/bubble-sort.md)
- [插入排序 Insertion Sort](list-sort/insertion-sort.md)
- [选择排序 Selection Sort](list-sort/selection-sort.md)
- [归并排序 Merge Sort](list-sort/merge-sort.md)
- [查找 Search](search/index.md)
- [线性查找 Linear Search](search/linear-search.md)
- [二分查找 Binary Search](search/binary-search.md)
- [二分查找相关的问题列表](leetcode/tags/binary-search.md)
- [三元查找 Ternary Search](search/ternary-search.md)
- [Jump Search](search/jump-search.md)
- [Interpolation Search](search/interpolation-search.md)
- [Exponential Search](search/exponential-search.md)
- [标准库中二分查找法的实现](search/binary-search-in-std.md)
- [位运算 Bit Manipulation](bit-manipulation/index.md)
- [对自己异或操作结果为0](bit-manipulation/self-xor.md)
- [位运算相关的问题列表](leetcode/tags/bit-manipulation.md)
Expand Down
1 change: 0 additions & 1 deletion src/array/search/assets/linear_search.rs

This file was deleted.

1 change: 0 additions & 1 deletion src/array/sort/assets/bubble_sort.rs

This file was deleted.

1 change: 0 additions & 1 deletion src/array/sort/assets/gnome_sort.rs

This file was deleted.

1 change: 0 additions & 1 deletion src/array/sort/assets/insertion_sort.rs

This file was deleted.

1 change: 0 additions & 1 deletion src/array/sort/assets/selection_sort.rs

This file was deleted.

1 change: 0 additions & 1 deletion src/array/sort/assets/shell_sort.rs

This file was deleted.

File renamed without changes.
5 changes: 5 additions & 0 deletions src/list-sort/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# 链表排序 List Sort

上一章介绍了数组的多种排序方法. 与数组不同的是, 链表结构不支持随机索引.

对链表中的元素进行排序, 有它自己的特点.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion src/list/sort/index.md

This file was deleted.

1 change: 1 addition & 0 deletions src/search/assets/linear_search.rs
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
1 change: 1 addition & 0 deletions src/sort/assets/bubble_sort.rs
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
1 change: 1 addition & 0 deletions src/sort/assets/gnome_sort.rs
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
1 change: 1 addition & 0 deletions src/sort/assets/insertion_sort.rs
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
1 change: 1 addition & 0 deletions src/sort/assets/selection_sort.rs
1 change: 1 addition & 0 deletions src/sort/assets/shell_sort.rs
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit d30d3f9

Please sign in to comment.