请完成一个函数,输入一个二叉树,该函数输出它的镜像。
例如输入:
4 / \ 2 7 / \ / \1 3 6 9
镜像输出:
4 / \ 7 2 / \ / \9 6 3 1
Gojay
Gojay's Records
Chongqing, China
Posts
95
Categories
26
Tags
81
AIGC / Diffusion Model
Coding / source-code
API / Python API
API / Image API
Update your browser to view this website correctly. Update my browser now
×