Skip to content

Commit 3f24fb9

Browse files
committed
finsh 03-06, 03-07, 03-08
完成【单路快速排序】相关实验
1 parent 77ade08 commit 3f24fb9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+2307
-9
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,22 @@
44

55
线上地址:[http://lib.ursb.me](http://lib.ursb.me)
66

7+
## 目录
8+
9+
1. 百人分钱问题
10+
1. [百人分钱 | 不许负债](http://lib.ursb.me/1-1)
11+
2. [百人分钱 | 允许负债](http://lib.ursb.me/1-2)
12+
2. 蒙特卡洛算法
13+
1. [求解圆周率](http://lib.ursb.me/2-1)
14+
3. 排序算法
15+
1. [选择排序 Selection Sort](http://lib.ursb.me/3-1)
16+
2. [插入排序 Insertion Sort](http://lib.ursb.me/3-2)
17+
3. [插入排序 | 近乎有序 Insertion Sort with Nearly Ordered Array](http://lib.ursb.me/3-3)
18+
4. [归并排序 | 自顶向下 Merge Sort TD](http://lib.ursb.me/3-4)
19+
5. [归并排序 | 自底向上 Merge Sort BD](http://lib.ursb.me/3-5)
20+
6. [快速排序 Quick Sort](http://lib.ursb.me/3-6)
21+
7. [快速排序 | 近乎有序 Quick Sort with Nearly Ordered Array](http://lib.ursb.me/3-7)
22+
8. [快速排序 | 随机定点 Quick Sort with Random Pivot](http://lib.ursb.me/3-8)
723
## 安装
824

925
```

app/public/javascripts/03-05-Merge-Sort-BU-Visualization/AlgoVisualizer.js

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/public/javascripts/03-05-Merge-Sort-BU-Visualization/AlgoVisualizer.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/public/javascripts/03-05-Merge-Sort-BU-Visualization/bundle.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ var AlgoVisualizer = (function () {
104104
this.run();
105105
}
106106
AlgoVisualizer.prototype.run = function () {
107-
this.setData(-1, -1, -1);
108107
this.setData(-1, -1, -1);
109108
for (var sz = 1; sz < this.data.N(); sz *= 2)
110109
for (var i = 0; i < this.data.N() - sz; i += sz + sz)

app/public/javascripts/03-06-Quick-Sort-Visualization/AlgoFrame.js

Lines changed: 42 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/public/javascripts/03-06-Quick-Sort-Visualization/AlgoFrame.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/public/javascripts/03-06-Quick-Sort-Visualization/AlgoVisHelper.js

Lines changed: 48 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/public/javascripts/03-06-Quick-Sort-Visualization/AlgoVisHelper.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/public/javascripts/03-06-Quick-Sort-Visualization/AlgoVisualizer.js

Lines changed: 74 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)