Skip to content

Solution #700 - Daniel/Edited - 12.03.2025 #28

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

danzang100
Copy link

Solution and explanation

@JRS296 JRS296 self-requested a review March 17, 2025 12:43
Copy link
Member

@JRS296 JRS296 left a comment

Choose a reason for hiding this comment

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

Give it more depth and detail, and if it's too much to explain, link some articles that do. Kindly format this in Markdown as well.

@@ -0,0 +1 @@
Simple straightforward problem of traversing a bst to find a given element.
Copy link
Member

Choose a reason for hiding this comment

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

Aight so this may be simple for you, but you ought to explain this as if you're explaining this to a child 😅
Give it more depth and detail, and if it's too much to explain, link some articles that do. Kindly format this in Markdown as well.

Comment on lines +1 to +4
class Solution {
public:
TreeNode* searchBST(TreeNode* root, int val) {
if(root != NULL){
Copy link
Member

Choose a reason for hiding this comment

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

Also check if this file exists in the repository as a java file, and if so, move it to your folder

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.

2 participants