100. Same Tree
problem description
Input: 1 1
/ \ / \
2 3 2 3
[1,2,3], [1,2,3]
Output: trueInput: 1 1
/ \
2 2
[1,2], [1,null,2]
Output: falsealgorithm thought
code
algorithm analysis
Last updated