Fix some contents.

This commit is contained in:
krahets
2023-07-06 00:04:11 +08:00
parent 763955aa8b
commit 470bc10a74
3 changed files with 6 additions and 6 deletions

View File

@@ -16,7 +16,7 @@ def bucket_sort(nums: list[float]) -> None:
i = int(num * k)
# 将 num 添加进桶 i
buckets[i].append(num)
# 2. 对各个桶执行排序5
# 2. 对各个桶执行排序
for bucket in buckets:
# 使用内置排序函数,也可以替换成其他排序算法
bucket.sort()