mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-07 15:45:40 +08:00
添加559.n叉树的最大深度Go版本.md
添加559.n叉树的最大深度Go版本.md
This commit is contained in:
@ -16,7 +16,7 @@ func maxDepth(root *Node) int {
|
|||||||
}
|
}
|
||||||
depth++
|
depth++
|
||||||
}
|
}
|
||||||
return depth
|
return depth
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user