Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e78071c

Browse files
committed
Update 10.Array-Radix-Sort.md
1 parent 01a67f9 commit e78071c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Contents/01.Array/02.Array-Sort/10.Array-Radix-Sort.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
## 4. 基数排序算法分析
3030

31-
- **时间复杂度**:$O(k * n)$。其中 $n$ 是待排序元素的个数,$k$ 是数字位数。$k$ 的大小取决于数字位的选择(十进制位、二进制位)和待排序元素所属数据类型全集的大小。
31+
- **时间复杂度**:$O(n \times k)$。其中 $n$ 是待排序元素的个数,$k$ 是数字位数。$k$ 的大小取决于数字位的选择(十进制位、二进制位)和待排序元素所属数据类型全集的大小。
3232
- **空间复杂度**:$O(n + k)$。
3333
- **排序稳定性**:基数排序是一种 **稳定排序算法**
3434

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /