Given the root of a binary tree, check whether it is a mirror of itself (i.e., symmetric around its center).
- The
rootof a binary tree.
Input: root = [1, 2, 2, 3, 4, 4, 3]
Output: True
Explanation: The left and right subtrees are mirrors of each other.