37-Invert Binary Tree
生活随笔
收集整理的這篇文章主要介紹了
37-Invert Binary Tree
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
Invert Binary Tree My Submissions QuestionEditorial Solution
Total Accepted: 87818 Total Submissions: 193396 Difficulty: Easy
Invert a binary tree.
4
/ \
2 7
/ \ / \
1 3 6 9
to
4
/ \
7 2
/ \ / \
9 6 3 1
逆轉一顆二叉樹
思路:so easy
轉載于:https://www.cnblogs.com/freeopen/p/5482932.html
總結
以上是生活随笔為你收集整理的37-Invert Binary Tree的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: KindEditor 给KindEdi
- 下一篇: HTML特殊编码转换