Matt17BR

0

votes
0

answer
5

views

Creating a second inverted singly-linked list based on another list

So I need to create a function that takes a normal singly-linked list and creates another list based on it, except the first element in the new list will be the last element in the original list and so on. It doesn't sound hard at all but my function for some reason only ever returns the same numbe...
Matt17BR