I am terrible at C++ coding and have no idea how to write this code.
Could someone please help me??
- Modify the linked list class you created in the previous programming challenges by
adding a member function named reverse that rearranges the nodes in the list so that
their order is reversed. Demonstrate the function in a simple driver program.