LeetCode098——验证二叉搜索树

我的LeetCode代码仓:https://github.com/617076674/LeetCode 原题链接:https://leetcode-cn.com/problems/validate-binary-search-tree/description/ 题目描述: 知识点:二叉搜索树、递归 思路一:递归判断 递归终止条件: 如果root节点为null或者root的左右节点均为null,我们
相关文章
相关标签/搜索