Knowsh.com

Program to Sort a Linked List

http://www.knowsh.com

This program is to sort a Singly Linked List. Time complexity is O(n2) to sort a linked list.

Program to Sort a Linked List

Advertisements
Knowsh.com

Remove duplicates from an unsorted linked list without using temporary buffer

http://www.knowsh.com

Write Code to remove duplicates from an unsorted linked list. How would you solve this problem if a temporary buffer is not allowed?

Following program is to remove all duplicate nodes from the linked list, strickly without using any extra data structure or temporary buffer. Language used C#.

http://www.knowsh.com/Notes/220335/Remove-Duplicates-From-An-Unsorted-Linked-List-Without-Using-Temporary-Buffer