IBM interview question

Reverse a doubly linked list