Assignment 5 + Homework - Linked Lists
Assignment 5 + Homework - Linked Lists
Sample Run:
Before Function Call:
Linked List 1: 10, 20, 30, 40, 50
Linked List 2: 5, 15, 25, 35
Merged List:
viii.
1)
Write a function (both iterative and recursive versions) that takes a linked list and
prints it in reverse order. For example:
Properly show all the functionalities in main function. Do not ask ANY input from user. Evaluator should
be able to just run your program and it should clearly print and show all the functionalities (listed above)
on console. Submit your txt file as well.
Save following List of Contacts in a text file then implement above application: