Singly-linked list/Reversal

From Rosetta Code
Revision as of 18:14, 1 April 2023 by Grondilu (talk | contribs) (Created page with "{{draft task}} :I don't even know how to reverse a linked-list, and I don't even know what that is. -- a YouTuber. Reverse a linked list. Obviously you can do it by turning it into a normal list and back, but feel free to use a smarter, possibly more efficient way.")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Singly-linked list/Reversal is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.
I don't even know how to reverse a linked-list, and I don't even know what that is. -- a YouTuber.

Reverse a linked list. Obviously you can do it by turning it into a normal list and back, but feel free to use a smarter, possibly more efficient way.