Teradata Interview Question

Reverse a doubly linked list