Mental Model
Two trees are symmetric if one is a mirror image of the other, meaning their shapes and node values match when flipped.
Analogy: Imagine folding a paper with a tree drawn on one side; if the other side matches perfectly when folded, the trees are symmetric.
Tree1: 1 Tree2: 1
/ \ / \
2 3 3 2
/ \ / \
4 5 5 4