Given two binary trees p and q, return true if they are structurally identical with equal values.
Input
p in level orderq in level orderOutput: true or false.
1 2 3 1 2 3
true
1 2 1 null 2
false
1 2 1 1 1 2
false
Run your code against the sample tests, or Submit to run the full suite.