更新图片链接
This commit is contained in:
4
problems/0098.验证二叉搜索树.md
Normal file → Executable file
4
problems/0098.验证二叉搜索树.md
Normal file → Executable file
@@ -16,7 +16,7 @@
|
||||
* 节点的右子树只包含大于当前节点的数。
|
||||
* 所有左子树和右子树自身必须也是二叉搜索树。
|
||||
|
||||

|
||||

|
||||
|
||||
## 算法公开课
|
||||
|
||||
@@ -102,7 +102,7 @@ if (root->val > root->left->val && root->val < root->right->val) {
|
||||
|
||||
例如: [10,5,15,null,null,6,20] 这个case:
|
||||
|
||||

|
||||

|
||||
|
||||
节点10大于左节点5,小于右节点15,但右子树里出现了一个6 这就不符合了!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user