Skip to content

Commit c0d6bb3

Browse files
committed
add counting sort
1 parent e7f8306 commit c0d6bb3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/8.counting_sort.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# 计数排序
2+
3+
## 概述
4+
5+
计数排序的核心在于将输入的数据值转化为键存储在额外开辟的数据空间中。作为一种线性时间复杂度的排序,计数排序要求输入的数据必须是有确定范围的整数。

0 commit comments

Comments
 (0)