Skip to content

Conversation

@youngsangsuh
Copy link

Link

Validate Binary Search Tree

Topic

  • Tree
  • Recursion

Approach

We shrink the left & right available range while traversing down the tree with recursive call

Note

All the leaves at the left should be smaller than the parent and at the right should be greater than the parent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants