DSA Master
Home
Problems
123
Schedule
17 Patterns
Data Structures
PDF Guide
Back to Problems
Mark as Complete
Invert Binary Tree
#226
Easy
Binary Tree
O(n)
O(h)
Google
Amazon
Microsoft
Facebook
View on LeetCode
Description
Approach
Solution
Related
Problem Description
Given the root of a binary tree, invert the tree, and return its root.