update 0098.验证二叉搜索树: 修改文本错误

This commit is contained in:
Yuhao Ju
2022-12-04 13:52:36 +08:00
committed by GitHub
parent a85036e811
commit d32e8f54c8

View File

@ -437,8 +437,6 @@ class Solution:
## Go ## Go
```Go ```Go
import "math"
func isValidBST(root *TreeNode) bool { func isValidBST(root *TreeNode) bool {
// 二叉搜索树也可以是空树 // 二叉搜索树也可以是空树
if root == nil { if root == nil {