m2skills

merge sorted ll output

Jan 28th, 2018
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. Program to merge 2 sorted Linked Lists.
  2.  
  3. First linked list is :
  4. 1-->3-->5-->7-->9-->11-->13-->15
  5. Second linked list is :
  6. 2-->4-->6-->8-->9
  7. After merging the Linked List is :
  8. 1-->2-->3-->4-->5-->6-->7-->8-->9-->9-->11-->13-->15
Add Comment
Please, Sign In to add comment