LeetCode098——驗證二叉搜索樹

我的LeetCode代碼倉:https://github.com/617076674/LeetCode 原題鏈接:https://leetcode-cn.com/problems/validate-binary-search-tree/description/ 題目描述: 知識點:二叉搜索樹、遞歸 思路一:遞歸判斷 遞歸終止條件: 如果root節點爲null或者root的左右節點均爲null,我們
相關文章
相關標籤/搜索