Merge pull request #76 from QuinnDK/添加0226翻转二叉树Go版本
Update 0226.翻转二叉树.md
This commit is contained in:
commit
c78159d92a
|
|
@ -207,7 +207,7 @@ Java:
|
||||||
|
|
||||||
Python:
|
Python:
|
||||||
|
|
||||||
|
Go:
|
||||||
```Go
|
```Go
|
||||||
func invertTree(root *TreeNode) *TreeNode {
|
func invertTree(root *TreeNode) *TreeNode {
|
||||||
if root ==nil{
|
if root ==nil{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue