226. Invert Binary Tree
Contents
Problem
Invert a binary tree.
example 1
|
|
Solution
DFS ( recursive)
Main idea is dfs – change children.
|
|
Invert a binary tree.
|
|
Main idea is dfs – change children.
|
|