List Homework
September 7, 2018
For many students, school started a few weeks ago, so today’s exercise is typical of homework:
- Write a program to determine the length of a linked list.
- Write a program to reverse a linked list.
Your task is to write the two list exercises described above; write them as if you are three weeks into your first data structures class. When you are finished, you are welcome to read or run a suggested solution, or to post your own solution or discuss the exercise in the comments below.