2017-05-15 2分木を左右対象にひっくり返す Invert Binary Tree in LeetCode LeetCode Binary Tree Invert 問題 leetcode.com それぞれのノードのleft, rightプロパティを交換すればOK。 ソースコード