Oracle interview question

Q: Implement how to reverse a linked list/