Symmetric Tree
Try to solve the Symmetric Tree problem.
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 a mirror of itself, i.e., symmetric around its root.
Constraints:
- The tree contains nodes in the range .
-
Node.data
Examples
Create a free account to view this lesson.
Continue your learning journey with a 14-day free trial.
By signing up, you agree to Educative's Terms of Service and Privacy Policy