mirror of
https://github.com/krahets/hello-algo.git
synced 2026-07-09 14:06:06 +00:00
build
This commit is contained in:
@@ -1103,7 +1103,6 @@ comments: true
|
||||
|
||||
```swift title="binary_search_tree.swift"
|
||||
/* 删除节点 */
|
||||
@discardableResult
|
||||
func remove(num: Int) {
|
||||
// 若树为空,直接提前返回
|
||||
if root == nil {
|
||||
|
||||
Reference in New Issue
Block a user