feat: add Swift codes for binary_search_tree article (#296)

This commit is contained in:
nuomi1
2023-01-27 01:52:51 +08:00
committed by GitHub
parent f73231568c
commit d76e6582fa
3 changed files with 298 additions and 3 deletions

View File

@@ -25,6 +25,7 @@ let package = Package(
.executable(name: "binary_tree", targets: ["binary_tree"]),
.executable(name: "binary_tree_bfs", targets: ["binary_tree_bfs"]),
.executable(name: "binary_tree_dfs", targets: ["binary_tree_dfs"]),
.executable(name: "binary_search_tree", targets: ["binary_search_tree"]),
],
targets: [
.target(name: "utils", path: "utils"),
@@ -48,5 +49,6 @@ let package = Package(
.executableTarget(name: "binary_tree", dependencies: ["utils"], path: "chapter_tree", sources: ["binary_tree.swift"]),
.executableTarget(name: "binary_tree_bfs", dependencies: ["utils"], path: "chapter_tree", sources: ["binary_tree_bfs.swift"]),
.executableTarget(name: "binary_tree_dfs", dependencies: ["utils"], path: "chapter_tree", sources: ["binary_tree_dfs.swift"]),
.executableTarget(name: "binary_search_tree", dependencies: ["utils"], path: "chapter_tree", sources: ["binary_search_tree.swift"]),
]
)