feat(content): hidden test cases
This commit is contained in:
@@ -27,6 +27,12 @@ test_cases:
|
||||
expected: false
|
||||
- input: { root: [10, 5, 15, null, null, 6, 20] }
|
||||
expected: false
|
||||
- input: { root: [] }
|
||||
expected: true
|
||||
- input: { root: [3, 1, 5, 0, 2, 4, 6] }
|
||||
expected: true
|
||||
- input: { root: [1, 1] }
|
||||
expected: false
|
||||
|
||||
description: |
|
||||
Given the `root` of a binary tree, determine if it is a valid **binary search tree (BST)**.
|
||||
|
||||
Reference in New Issue
Block a user