Nov-21-2020, 01:09 AM
Start by writing a function that prints all the values in your linked list. Once you have that, you can use it for debugging.
Have the function create an empty list. Then append the node's value and see if there's a next node. When complete, print out the list.
Have the function create an empty list. Then append the node's value and see if there's a next node. When complete, print out the list.