4.5 Implement a function to check if a binary tree is a binary search tree.
LeetCode上的原理,请参见我之前的博客Validate Binary Search Tree 验证二叉搜索树。
时间: 2024-12-17 13:26:16
4.5 Implement a function to check if a binary tree is a binary search tree.
LeetCode上的原理,请参见我之前的博客Validate Binary Search Tree 验证二叉搜索树。