feat(content): hidden test cases
This commit is contained in:
@@ -28,6 +28,12 @@ test_cases:
|
||||
expected: [1, null, 2]
|
||||
- input: { root: [1, null, 2] }
|
||||
expected: [1, 2]
|
||||
- input: { root: [1, 2, 3, 4, 5, 6, 7] }
|
||||
expected: [1, 3, 2, 7, 6, 5, 4]
|
||||
- input: { root: [5, 3, 8, 1, 4, 7, 9] }
|
||||
expected: [5, 8, 3, 9, 7, 4, 1]
|
||||
- input: { root: [1, 2, 3] }
|
||||
expected: [1, 3, 2]
|
||||
|
||||
description: |
|
||||
Given the `root` of a binary tree, invert the tree, and return *its root*.
|
||||
|
||||
Reference in New Issue
Block a user