Amadeus Interview Question

How to reverse a doubly linked list