feat: add Swift codes for avl_tree article (#302)

This commit is contained in:
nuomi1
2023-01-29 00:03:28 +08:00
committed by GitHub
parent f58068c838
commit af8ee88e50
3 changed files with 394 additions and 4 deletions

View File

@ -26,6 +26,7 @@ let package = Package(
.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"]),
.executable(name: "avl_tree", targets: ["avl_tree"]),
],
targets: [
.target(name: "utils", path: "utils"),
@ -50,5 +51,6 @@ let package = Package(
.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"]),
.executableTarget(name: "avl_tree", dependencies: ["utils"], path: "chapter_tree", sources: ["avl_tree.swift"]),
]
)