更新图片链接

This commit is contained in:
kama
2025-05-19 17:11:04 +08:00
parent b489cb69b5
commit ce6e658d14
315 changed files with 2499 additions and 1729 deletions

4
problems/0098.验证二叉搜索树.md Normal file → Executable file
View File

@@ -16,7 +16,7 @@
* 节点的右子树只包含大于当前节点的数。
* 所有左子树和右子树自身必须也是二叉搜索树。
![98.验证二叉搜索树](https://file.kamacoder.com/pics/20230310000750.png)
![98.验证二叉搜索树](https://file1.kamacoder.com/i/algo/20230310000750.png)
## 算法公开课
@@ -102,7 +102,7 @@ if (root->val > root->left->val && root->val < root->right->val) {
例如: [10,5,15,null,null,6,20] 这个case
![二叉搜索树](https://file.kamacoder.com/pics/20230310000824.png)
![二叉搜索树](https://file1.kamacoder.com/i/algo/20230310000824.png)
节点10大于左节点5小于右节点15但右子树里出现了一个6 这就不符合了!