156. Binary Tree Upside Down

Description

Here

Intuition

利用 recursion 来想,如果partially solved, what we can do.

picture

剩下的就是利用left就是现在root的parent 这一点了

Pitfall

Solution

results matching ""

    No results matching ""