-
Notifications
You must be signed in to change notification settings - Fork 19.9k
Sort a Linked List #2450
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
Comments
Can I please work on this and raise a PR for hacktoberfest 2021? |
Can I please work on this and raise a PR for hacktoberfest 2021? |
Do I have to be assigned to work on an issue? |
Not at all, but other people might be working on it too and it's better to work on something else if you know someone is already working here |
please assign it to me. This is my first PR |
I would like to pull the issue |
I have been learning DSA with java for a yr now. and therefore I would love to pull the issue |
Can I work under this issue?? |
is this issue still open open or has it been sorted since I see someone used 'fixes' in one of the previous commits. if it is open can I work on it? |
Actually I'm currently working under it. Thanks. |
can I do on this |
Can I work on this issue? |
Adding a sort linked list function that takes in the head of the linked list and returns the list, as described in open issue: TheAlgorithms#2450.
/his java program sorts a Linked List given a head pointer, as described in the issue TheAlgorithms#2450.
This issue is already merged. Thanks. |
Given the head of a linked list, return the list after sorting it in ascending order.
Solution:
A divide and conquer algorithm similar to merge sort used in case of arrays. The linked list is recursively broken down to smaller lists and then sorted after which they are merged, thereby sorting the original linked list.
The text was updated successfully, but these errors were encountered: