Same Tree
Description
Given the roots of two binary trees p and q, return True if they are structurally identical AND every corresponding node has the same value. Two empty trees are considered equal.
Constraints
- 0 <= number of nodes in each tree <= 100 - Node values are integers
solution.py
output
Run the cases to see results here.