mirror of
https://github.com/krahets/hello-algo.git
synced 2025-11-01 20:12:07 +08:00
Polish the chapter of heap, introduction, preface.
Replace "其它" with "其他"
This commit is contained in:
@ -18,7 +18,7 @@ def bucket_sort(nums: list[float]) -> None:
|
||||
buckets[i].append(num)
|
||||
# 2. 对各个桶执行排序5
|
||||
for bucket in buckets:
|
||||
# 使用内置排序函数,也可以替换成其它排序算法
|
||||
# 使用内置排序函数,也可以替换成其他排序算法
|
||||
bucket.sort()
|
||||
# 3. 遍历桶合并结果
|
||||
i = 0
|
||||
|
||||
Reference in New Issue
Block a user