Node Linked

Thx
Last edited on
CodingisFun wrote:
Somehow and somewhere doesnt show the reverse link.
I don't understand what you mean?
You'll want to make a function to insert a head for your linked list object.

In order to reverse a linked list, the easiest way (not saying the most efficient, just easiest for school projects/etc) in my opinion, is to iterate through the node and Copy the listnodes to a new linked list, but by using InsertHead for each listnode, you will be placing the node at the beginning of your new list in term reversing your list.
Topic archived. No new replies allowed.