Invert Binary Tree
摘要:Invert a binary tree: 4 / \ 2 7 / \ / \1 3 6 9to 4 / \ 7 2 / \ / \9 6 3 1简单递归实现,调换左右子树,子树的所有子树结构一并调换了顺序。/** * De...
阅读全文
posted @ 2015-12-07 15:30
Clicks&Changes
posted @ 2015-12-07 15:30
posted @ 2015-10-07 17:04
posted @ 2015-10-07 15:58
posted @ 2015-10-02 22:06
posted @ 2015-10-02 21:27