Hacktoberfest2024
Hacktoberfest2024 copied to clipboard
Validate Binary Search Tree in Java
I'd like to contribute java code to validate binary search tree.
Validation of binary search tree includes:
- Ensuring that the value of the node in the left subtree is smaller than current node
- Ensuring that the value of the node in the right subtree is greater than current node
- Ensuring left and right subtrees are also binary search trees
Hey can you assign this one to me?
Hey can you assign me ?