I have a list that is simply chained where each node has a value, being 1, 2, 3, 4 and 5 respectively. I want to print the list values only for aesthetic reasons like 5, 4, 3, 2, 1 without creating another list. How can I do this? I'm out of ideas.
I have a list that is simply chained where each node has a value, being 1, 2, 3, 4 and 5 respectively. I want to print the list values only for aesthetic reasons like 5, 4, 3, 2, 1 without creating another list. How can I do this? I'm out of ideas.