Skip to content

Create ConstructBinaryTreefromPreorderandInorderTraversal.cpp#91

Open
YashGosaliya wants to merge 3 commits into
khagapati-bagh:mainfrom
YashGosaliya:patch-1
Open

Create ConstructBinaryTreefromPreorderandInorderTraversal.cpp#91
YashGosaliya wants to merge 3 commits into
khagapati-bagh:mainfrom
YashGosaliya:patch-1

Conversation

@YashGosaliya
Copy link
Copy Markdown

Leetcode - Medium

Copy link
Copy Markdown
Owner

@khagapati-bagh khagapati-bagh left a comment

Choose a reason for hiding this comment

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

Hi @YashGosaliya, Thank you for your interest.
Please follow contribution guidelines.
Rename your file to constructBinaryTreefromPreorderandInorderTraversal.cpp
Mention time, space, and what is n at the top
Add code to create Tree.

@@ -0,0 +1,31 @@

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Please check the contribution guidelines for adding other things in the comments.

…cpp to constructBinaryTreefromPreorderandInorderTraversal.cpp
Copy link
Copy Markdown
Owner

@khagapati-bagh khagapati-bagh left a comment

Choose a reason for hiding this comment

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

Hi @YashGosaliya

Here are some comments for you.

  1. From contribution guidelines > Style Guide > Step 2 is missing.
  2. Format your code using the online formatter, which is mentioned in the style guide.
  3. Add the main method and create a tree and call the method, so if anyone take the code and run it on their local or any compiler it should work.

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