226. Invert Binary Tree

1.問題

  • 反轉binary tree

2.想法

  • Recursion + swap

    • 由下到上, 交換child node

3.程式碼

4.Performance

Last updated