mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2026-02-02 18:39:09 +08:00
Merge branch 'master' into master
This commit is contained in:
@@ -310,6 +310,7 @@ func lowestCommonAncestor(root, p, q *TreeNode) *TreeNode {
|
||||
return nil
|
||||
}
|
||||
```
|
||||
|
||||
JavaScript版本:
|
||||
```javascript
|
||||
var lowestCommonAncestor = function(root, p, q) {
|
||||
@@ -337,6 +338,7 @@ var lowestCommonAncestor = function(root, p, q) {
|
||||
```
|
||||
|
||||
|
||||
|
||||
-----------------------
|
||||
* 作者微信:[程序员Carl](https://mp.weixin.qq.com/s/b66DFkOp8OOxdZC_xLZxfw)
|
||||
* B站视频:[代码随想录](https://space.bilibili.com/525438321)
|
||||
|
||||
Reference in New Issue
Block a user