Loading...
Given the root of a binary tree (as a level-order array), check whether it is a mirror of itself (symmetric around its center).
1,2,2,3,4,4,3
True
1,2,2,3,4,4,3 represents a binary tree in level-order traversal, which can be visualized as:
1
/ True indicating that the tree is a mirror of itself.