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

Added Tree data Structure #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Bhavyaatrivedi
Copy link

No description provided.

Copy link
Owner

@ShehrozIrfan ShehrozIrfan left a comment

Choose a reason for hiding this comment

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

@Bhavyaatrivedi
I've checked, it's excellent. Just some minor fixes:

  • Add a comment about the program at the top of file.
  • Remove all the extra lines, like we can only have one line between blocks, but there are two to three lines between some blocks, need to remove them. So, in the whole code wherever two lines are added, remove the one line.

@@ -0,0 +1,160 @@
#include <bits/stdc++.h>
Copy link
Owner

Choose a reason for hiding this comment

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

@Bhavyaatrivedi

At the start of every program, we need to write a comment about the program and what problem it is solving. It really helps to know about the program.

@@ -0,0 +1,154 @@
#include <bits/stdc++.h>
Copy link
Owner

Choose a reason for hiding this comment

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

@Bhavyaatrivedi

Same here.
At the start of every program, we need to write a comment about the program and what problem it is solving. It really helps to know about the program.

@@ -0,0 +1,160 @@
#include <bits/stdc++.h>
using namespace std;

Copy link
Owner

Choose a reason for hiding this comment

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

Remove the extra line

return temp;
}


Copy link
Owner

Choose a reason for hiding this comment

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

Remove the extra line

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.

None yet

2 participants