牛客308632849号
牛客308632849号
全部文章
题解
归档
标签
去牛客网
登录
/
注册
数据结构
数据结构学习
全部文章
/ 题解
(共1篇)
题解 | #二叉树的镜像#
用递归把左右子树交换位置。 struct TreeNode* Mirror(struct TreeNode* pRoot ) { // write code here struct TreeNode* tmp; if(!pRoot) return NULL; tmp...
C
2022-03-21
4
354