The in-place reversal of a linked list
tl;dr The trick is to focus on performing the most important logic first. Then, go construct everything around it.
Whenever you are doing anything for the first time with a data structure, do some doodling. Here’s mine for the linked…