Concept Flow - Reverse a Doubly Linked List
Start at head node
For each node: Swap prev and next pointers
Move to new prev (old next) node
Repeat until current node is NULL
Update head to last processed node
Done: List reversed
We start at the head node, swap the prev and next pointers of each node, move forward using the swapped pointers, and finally update the head to the last node processed.
