6 QUESTIONS
Q1 1 / 6 medium
Invert Binary Tree
Given the root of a binary tree, invert it (mirror it) so that every left child becomes the right child and vice versa. Return the root.
What is the key technique required?
Given the root of a binary tree, invert it (mirror it) so that every left child becomes the right child and vice versa. Return the root.
What is the key technique required?