We recommend you look at the solution. Come back and try again when you're done!
×
Brain Train
?
This problem practices your interview skills by being slightly different from the solution video. Try and figure it out!
×
Example 1:
Example 2:
Example 3:
xxxxxxxxxx
1
class
Solution
:
2
def
isSameTree
(
self
,
p
:
TreeNode
,
q
:
TreeNode
)
->
bool
:
3
Standard Output
Results
Start Timer
30:00
Notepad
Close Editor
Run Examples
Submit