C program to merge linked lists with sorted data
02:53/*Merging of linked lists with sorted data */
/* prgram :
Create two singly linked lists sort one after creation & one while
creation.Merge these two lists into one list without creating a
new node*/
output :>
Creating Normal(unsorted) linked list
Number of nodes:2
Enter data:12
23
Creating sorted linked list
Number of nodes:3
Enter data:12 23
34
First LInked list(Before Sorting):
12 23
First Linked list(After Sorting):
12 23
Second Linked list:
12 23 34
Final List:
12 12 23 23 34
0 comments: