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

Updated LinkedList.cpp #328

Closed
wants to merge 1 commit into from
Closed

Updated LinkedList.cpp #328

wants to merge 1 commit into from

Conversation

Yash-Thakare22
Copy link
Contributor

Implemented Reversing a Linked List in C++ and corrected the error in the program

Implemented Reversing a  Linked List in C++ and  corrected the error in the program
@atarax665
Copy link
Contributor

I find the changes to be superfluous.

@Yash-Thakare22
Copy link
Contributor Author

Yash-Thakare22 commented Aug 13, 2020

Please update my work

@Yash-Thakare22
Copy link
Contributor Author

@iamrajiv Please update my work

Copy link
Contributor

@iamrajiv iamrajiv left a comment

Choose a reason for hiding this comment

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

@YashThakare update the readme file

@@ -115,10 +115,28 @@ int DeleteNode(int pos) //Takes position to delete the corresponding Node from
return x;
}
}

void ReverseList() //To Reverse a Linked List
Copy link
Contributor

Choose a reason for hiding this comment

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

@YashThakare I think you have implemented an iterative way of reversing the linked list so mention that in the code comments. Also, add time and space complexity for the same.

@iamrajiv
Copy link
Contributor

@YashThakare Please, resolve merge conflicts

@Yash-Thakare22
Copy link
Contributor Author

I will resolve merge conflicts @iamrajiv

@github-actions
Copy link

Please reopen this pull request once you commit the changes requested or make improvements on the code. If this is not the case and you need some help, feel free to seek help from our Telegram or ping one of the reviewers. Thank you for your contributions!

@github-actions github-actions bot closed this Oct 31, 2020
iamrajiv pushed a commit that referenced this pull request Oct 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants