mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-07 15:45:40 +08:00
添加0222.完全二叉树的节点个数Go版本
添加0222.完全二叉树的节点个数Go版本
This commit is contained in:
@ -19,7 +19,7 @@ func countNodes(root *TreeNode) int {
|
|||||||
res++
|
res++
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return res
|
return res
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user