Mental Model
To reverse a doubly linked list, we swap the previous and next links of each node, then move forward using the old next pointer until all nodes are reversed.
Analogy: Imagine walking backward on a path where each step has a sign pointing forward and backward. To reverse the path, you swap the directions on each sign and then follow the new directions to the end.
null β 1 β 2 β 3 -> null βhead
