Symmetric Tree
Try to solve the Symmetric Tree problem.
We'll cover the following
1 of 2
2 of 2
Understand the problem#
Let’s take a moment to make sure you’ve correctly understood the problem. The quiz below helps you check if you’re solving the correct problem:
Symmetric Tree
1
What will be the output if the following tree is given as input?
tree = [25, 4, 67, 2, 3, 3, 2]
__ 25 __
| |
_ 4 _ _ 67 _
| | | |
2 3 3 2
A)
TRUE
B)
FALSE
Question 1 of 30 attempted
Figure it out!#
We have a game for you to play. Rearrange the logical building blocks to develop a clearer understanding of how to solve this problem.
Try it yourself#
Implement your solution in the following coding playground.
Python
usercode > main.py
Symmetric Tree
Tree Breadth-first Search: Introduction
Solution: Symmetric Tree