feat(content): hidden test cases
This commit is contained in:
@@ -27,6 +27,12 @@ test_cases:
|
||||
expected: false
|
||||
- input: { p: [1, 2, 3, 4, 5], q: [1, 2, 3, 4, 5] }
|
||||
expected: true
|
||||
- input: { p: [1], q: [1] }
|
||||
expected: true
|
||||
- input: { p: [1], q: [2] }
|
||||
expected: false
|
||||
- input: { p: [1, 2, 3], q: [1, 2, null] }
|
||||
expected: false
|
||||
|
||||
description: |
|
||||
Given the roots of two binary trees `p` and `q`, write a function to check if they are the same or not.
|
||||
|
||||
Reference in New Issue
Block a user