Polish the chapter of heap, introduction, preface.

Replace "其它" with "其他"
This commit is contained in:
krahets
2023-04-09 19:12:37 +08:00
parent 10e2180013
commit 0bec52d7cc
29 changed files with 185 additions and 161 deletions

View File

@@ -63,7 +63,7 @@ public class GraphAdjList {
}
// vet
adjList.removeValue(forKey: vet)
// vet
// vet
for key in adjList.keys {
adjList[key]?.removeAll(where: { $0 == vet })
}

View File

@@ -18,7 +18,7 @@ func bucketSort(nums: inout [Double]) {
}
// 2.
for i in buckets.indices {
// 使
// 使
buckets[i].sort()
}
// 3.