LeetCode之226. Invert Binary Tree

Invert a binary tree. Example: Input: 4 / \ 2 7 / \ / \ 1 3 6 9 Output: 4 / \ 7 2 / \ / \ 9 6 3 1 自己的代码:(递归) Runtime: 0 ms, faster than 100.00% of Java on
相关文章
相关标签/搜索