226. Invert Binary Tree
Description
See https://leetcode.com/problems/invert-binary-tree/
Solution
I used a recursive solution to swap the nodes. This can also be solved by using BFS or DFS.
Last updated
See https://leetcode.com/problems/invert-binary-tree/
I used a recursive solution to swap the nodes. This can also be solved by using BFS or DFS.
Last updated