update 0098.验证二叉搜索树: 修改文本错误
This commit is contained in:
parent
a85036e811
commit
d32e8f54c8
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue