mirror of
https://github.com/krahets/hello-algo.git
synced 2026-07-10 14:36:06 +00:00
Polish the chapter of heap, introduction, preface.
Replace "其它" with "其他"
This commit is contained in:
@@ -23,7 +23,7 @@ func bucketSort(nums []float64) {
|
||||
}
|
||||
// 2. 对各个桶执行排序
|
||||
for i := 0; i < k; i++ {
|
||||
// 使用内置切片排序函数,也可以替换成其它排序算法
|
||||
// 使用内置切片排序函数,也可以替换成其他排序算法
|
||||
sort.Float64s(buckets[i])
|
||||
}
|
||||
// 3. 遍历桶合并结果
|
||||
|
||||
Reference in New Issue
Block a user