feat: add Swift codes for binary_tree article

This commit is contained in:
nuomi1
2023-01-18 21:34:44 +08:00
parent 0bef99d438
commit 3ba87bcd7b
3 changed files with 71 additions and 3 deletions
+2
View File
@@ -22,6 +22,7 @@ let package = Package(
.executable(name: "deque", targets: ["deque"]),
.executable(name: "hash_map", targets: ["hash_map"]),
.executable(name: "array_hash_map", targets: ["array_hash_map"]),
.executable(name: "binary_tree", targets: ["binary_tree"]),
],
targets: [
.target(name: "utils", path: "utils"),
@@ -42,5 +43,6 @@ let package = Package(
.executableTarget(name: "deque", path: "chapter_stack_and_queue", sources: ["deque.swift"]),
.executableTarget(name: "hash_map", dependencies: ["utils"], path: "chapter_hashing", sources: ["hash_map.swift"]),
.executableTarget(name: "array_hash_map", path: "chapter_hashing", sources: ["array_hash_map.swift"]),
.executableTarget(name: "binary_tree", dependencies: ["utils"], path: "chapter_tree", sources: ["binary_tree.swift"]),
]
)