OSDN Git Service
(root)
/
oi-wiki
/
main.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5215cfa
)
Update docs/basic/bucket-sort.md
author
mgt
<mgt@oi-wiki.org>
Sun, 27 Sep 2020 01:44:37 +0000
(09:44 +0800)
committer
GitHub
<noreply@github.com>
Sun, 27 Sep 2020 01:44:37 +0000
(09:44 +0800)
Co-authored-by: Marcythm <36555123+Marcythm@users.noreply.github.com>
docs/basic/bucket-sort.md
patch
|
blob
|
history
diff --git
a/docs/basic/bucket-sort.md
b/docs/basic/bucket-sort.md
index
010e884
..
1d6a177
100644
(file)
--- a/
docs/basic/bucket-sort.md
+++ b/
docs/basic/bucket-sort.md
@@
-9,7
+9,7
@@
桶排序按下列步骤进行:
1. 设置一个定量的数组当作空桶;
-2.
寻访序列,并且把元素一个一
个放到对应的桶中;
+2.
遍历序列,并将元素一个
个放到对应的桶中;
3. 对每个不是空的桶进行排序;
4. 从不是空的桶里把元素再放回原来的序列中。