Courses
Tutorials
Interview Prep
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.5K+ articles
Amazon
1.9K+ articles
Sorting
1.1K+ articles
Microsoft
811+ articles
Linked List
666+ articles
MakeMyTrip
214+ articles
doubly linked list
130+ articles
Merge Sort
109+ articles
Quick Sort
77+ articles
Linked-List-Sorting
63 posts
Recent Articles
Sorting a Singly Linked List
Last Updated: 23 July 2025
Given a singly Linked List, the task is to sort this Linked List in non-decreasing order.Examples:Input: 10-30-20-5Output: 5-10-20-30Explanation: The above linked list is ...
read more
Linked List
Sorting
DSA
Merge Sort
Quick Sort
Insertion Sort
BubbleSort
Linked-List-Sorting
C++ Program For Recursive Selection Sort For Singly Linked List - Swapping Node Links
Last Updated: 23 July 2025
Given a singly linked list containing n nodes. The problem is to sort the list using the recursive selection sort technique. The approach should be such that it involves s...
read more
Linked List
Sorting
C++ Programs
DSA
Linked-List-Sorting
Java Program For Recursive Selection Sort For Singly Linked List - Swapping Node Links
Last Updated: 23 July 2025
Given a singly linked list containing n nodes. The problem is to sort the list using the recursive selection sort technique. The approach should be such that it involves s...
read more
Linked List
Sorting
Java Programs
DSA
Linked-List-Sorting
Python Program For Recursive Selection Sort For Singly Linked List - Swapping Node Links
Last Updated: 23 July 2025
Given a singly linked list containing n nodes. The problem is to sort the list using the recursive selection sort technique. The approach should be such that it involves s...
read more
Linked List
Sorting
Python Programs
DSA
Linked-List-Sorting
Python-DSA
Javascript Program For Recursive Selection Sort For Singly Linked List - Swapping Node Links
Last Updated: 23 July 2025
Given a singly linked list containing n nodes. The problem is to sort the list using the recursive selection sort technique. The approach should be such that it involves s...
read more
JavaScript
Linked-List-Sorting
C++ Program For Sorting A Linked List Of 0s, 1s And 2s By Changing Links
Last Updated: 23 July 2025
Given a linked list of 0s, 1s and 2s, sort it.Examples:Input: 2->1->2->1->1->2->0->1->0Output: 0->0->1->1->1->1->2->2->2The sorted Array is 0, 0, 1, 1, 1, 1, 2, 2, 2.Input...
read more
Linked List
Sorting
C++ Programs
DSA
Microsoft
Amazon
MakeMyTrip
Linked-List-Sorting
Java Program For Sorting A Linked List Of 0s, 1s And 2s By Changing Links
Last Updated: 23 July 2025
Given a linked list of 0s, 1s and 2s, sort it.Examples:Input: 2->1->2->1->1->2->0->1->0Output: 0->0->1->1->1->1->2->2->2The sorted Array is 0, 0, 1, 1, 1, 1, 2, 2, 2.Input...
read more
Linked List
Sorting
Java Programs
DSA
Microsoft
Amazon
MakeMyTrip
Linked-List-Sorting
Python Program For Sorting A Linked List Of 0s, 1s And 2s By Changing Links
Last Updated: 23 July 2025
Given a linked list of 0s, 1s and 2s, sort it.Examples:Input: 2-1-2-1-1-2-0-1-0Output: 0-0-1-1-1-1-2-2-2The sorted Array is 0, 0, 1, 1, 1, 1, 2, 2, 2.Input: 2-1-0Output: 0...
read more
Linked List
Sorting
Python Programs
DSA
Microsoft
Amazon
MakeMyTrip
Linked-List-Sorting
Python-DSA
Javascript Program For Sorting A Linked List Of 0s, 1s And 2s By Changing Links
Last Updated: 23 July 2025
Given a linked list of 0s, 1s and 2s, sort it.Examples:Input: 2-1-2-1-1-2-0-1-0Output: 0-0-1-1-1-1-2-2-2The sorted Array is 0, 0, 1, 1, 1, 1, 2, 2, 2.Input: 2-1-0Output: 0...
read more
JavaScript
Microsoft
Amazon
MakeMyTrip
Linked-List-Sorting
C++ Program For QuickSort On Singly Linked List
Last Updated: 23 July 2025
QuickSort on Doubly Linked List is discussed here. QuickSort on Singly linked list was given as an exercise. The important things about implementation are, it changes poin...
read more
C++
Quick Sort
Linked-List-Sorting
Python Program For QuickSort On Singly Linked List
Last Updated: 23 July 2025
QuickSort on Doubly Linked List is discussed here. QuickSort on Singly linked list was given as an exercise. The important things about implementation are, it changes poin...
read more
Python
Quick Sort
Linked-List-Sorting
Python-DSA
Javascript Program For QuickSort On Singly Linked List
Last Updated: 23 July 2025
QuickSort on Doubly Linked List is discussed here. QuickSort on Singly linked list was given as an exercise. The important things about implementation are, it changes poin...
read more
JavaScript
Quick Sort
Linked-List-Sorting
Java Program For QuickSort On Doubly Linked List
Last Updated: 23 July 2025
Following is a typical recursive implementation of QuickSort for arrays. The implementation uses last element as pivot.Java /* A typical recursive implementatio...
read more
Linked List
Sorting
Java Programs
DSA
HSBC
Quick Sort
doubly linked list
Linked-List-Sorting
Python Program For QuickSort On Doubly Linked List
Last Updated: 23 July 2025
Following is a typical recursive implementation of QuickSort for arrays. The implementation uses last element as pivot.Python3 A typical recursive implementatio...
read more
Linked List
Sorting
Python Programs
DSA
HSBC
Quick Sort
doubly linked list
Linked-List-Sorting
Python-DSA
Javascript Program For QuickSort On Doubly Linked List
Last Updated: 23 July 2025
Following is a typical recursive implementation of QuickSort for arrays. The implementation uses last element as pivot.JavaScript/* A typical recursive implementation of ...
read more
JavaScript
HSBC
Quick Sort
doubly linked list
Linked-List-Sorting
1
2
3
4
5