Oracle interview question

Reverse linked list