feature(swift): Reimplement merge_sort and top_k (#898)

* feat: Add swift-collections

* fix: use heap

* refactor: merge

* fix: import HeapModule
This commit is contained in:
nuomi1
2023-10-27 22:59:54 +08:00
committed by GitHub
parent ba74d4bba7
commit 7605cab160
4 changed files with 52 additions and 33 deletions
+14
View File
@@ -0,0 +1,14 @@
{
"pins" : [
{
"identity" : "swift-collections",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-collections",
"state" : {
"branch" : "release/1.1",
"revision" : "4a1d92ba85027010d2c528c05576cde9a362254b"
}
}
],
"version" : 2
}