Oracle interview question

reverse a doubling linked list