2
I have a list simply chained where each node has a value, they are respectively 1, 2, 3, 4 and 5. I want to print the values of the list only for aesthetic reasons like 5, 4, 3, 2, 1 without creating another list. How can I do that? I’m out of ideas.
Simply call the function recursively. Have a look at this function https://pastebin.com/HPcTFAzv.
– Lucas Trigueiro
And a tip for you who is new user, ask more detailed questions, put for example how your list type is declared and other important information.
– Lucas Trigueiro
Okay, thank you so much Lucas for the example and the tip.
– Marcos
show what you’ve done so far, what hasn’t worked, etc
– zentrunix