Oracle Interview Question

- reverse a singly linked list