Invert Binary Tree

Invert a binary tree.html 4 / \ 2 7 / \ / \ 1 3 6 9 tonode 4 / \ 7 2 / \ / \ 9 6 3 1 反转二叉树,其实就是自顶向下递归翻转.代码以下:post # Definition for a binary tree node. # c
相关文章
相关标签/搜索