添加0222.完全二叉树的节点个数Go版本

添加0222.完全二叉树的节点个数Go版本
This commit is contained in:
Galaxies2580
2022-08-15 10:24:40 +08:00
committed by GitHub
parent e36dc6a584
commit f59621fdc5

View File

@ -19,7 +19,7 @@ func countNodes(root *TreeNode) int {
res++ res++
} }
} }
return res return res
} }
``` ```