Solution: Symmetric Tree
Let's solve the Symmetric Tree problem using the Tree BFS pattern.
We'll cover the following...
Statement
Given the root of a binary tree, check whether it is a symmetric tree. A symmetric tree refers to a tree that is the mirror of itself, i.e., symmetric around its root.
Constraints:
- The tree contains nodes in the range
Access this course and 1400+ top-rated courses and projects.