Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADD: Alternate C++ Solution to No. 98 Validate Binary Search Tree #369

Closed
wants to merge 2 commits into from

Conversation

resyfer
Copy link

@resyfer resyfer commented Jul 6, 2022

Issue #368

Copy link
Collaborator

@mitchellirvin mitchellirvin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi @resyfer ! thanks for contributing!

I think we should keep the iterative solution that was previously commented out (it's helpful to see multiple ways to solve the same problem, and especially helpful to understand iterative tree traversals as well as recursive). do you mind moving it to a public method titled isValidBstIterative or the like (and uncommenting it)? otherwise this looks good to go as soon as merge conflicts are resolved.

@Ahmad-A0
Copy link
Collaborator

I'll close this as stale due to the changes in directory structure.

@Ahmad-A0 Ahmad-A0 closed this Aug 31, 2022
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.

Alternate C++ solution #98. Validate Binary Search Tree
4 participants