Oracle interview question

Program to reverse double linked list