Concept Flow - Reverse a Doubly Linked List
Start at head node
Swap node.prev and node.next
Move to node.prev (old next)
Repeat until node is null
Update head to last processed node
Done: list reversed
We start at the head and for each node, swap its previous and next pointers. Then move to the old next node (now prev). Repeat until all nodes are processed, then update the head.
