面试题27
请完成一个函数,输入一个二叉树,该函数输出它的镜像。
限制:
0 <= 节点个数 <= 1000
Solutions
See problem 226 for more solutions.
recursion
iteration
preorder/inorder/postorder/levelorder traversal
Last updated
Was this helpful?
请完成一个函数,输入一个二叉树,该函数输出它的镜像。
0 <= 节点个数 <= 1000
See problem 226 for more solutions.
recursion
iteration
preorder/inorder/postorder/levelorder traversal
Last updated
Was this helpful?